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