Exemplo n.º 1
0
 private UserSummary MapToSummary(ScampUserGroupMbrship docDbUser)
 {
     return new UserSummary
     {
         Id = docDbUser.Id,
         Name = docDbUser.Name,
         isManager = docDbUser.isManager
     };
 }
Exemplo n.º 2
0
 private GroupSummary MapToGroupSummary(ScampUserGroupMbrship groupMembership)
 {
     return new GroupSummary
     {
         Id = groupMembership.Id,
         Name = groupMembership.Name,
     };
 }