Guest User

Untitled

a guest
May 27th, 2018
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public Group ParentGroup
  2. {
  3. get
  4. {
  5. if (_parentGroupId == -1)
  6. return null;
  7.  
  8. return _groupService.GetGroup(_parentGroupId);
  9. }
  10. set
  11. {
  12. ArgumentHelper.AssertNotNull(value, "value", "Child Group cannot be null");
  13. _parentGroupId = value.ID;
  14. }
  15. }
Add Comment
Please, Sign In to add comment