Наследование: Subject
Пример #1
0
 public static GroupEditModel Convert(Group group)
 {
     return new GroupEditModel()
     {
         GroupId = group.Id,
         GroupName = group.Name,
         Description = group.Description
     };
 }
Пример #2
0
        public static UserMembershipGridRowModel Convert(Group group, bool isUserInGroup)
        {
            return new UserMembershipGridRowModel()
            {
                Id = group.Id,
                GroupName = group.Name,
                Description = group.Description,

                IsUserInGroup = isUserInGroup
            };
        }
Пример #3
0
 public static GroupGridRowModel Convert(Group group)
 {
     return new GroupGridRowModel()
     {
         Id = group.Id,
         GroupName = group.Name,
         Description = group.Description,
     };
 }