public static GroupViewModel GetGroup(int GroupId) { Group group = GroupDB.GetGroup(GroupId); return(new GroupViewModel(group.ID, group.Name, group.CreatedDate, group.Receviers.Select(r => r.UserName).ToList())); }
public static GroupViewModel GetGroup(int GroupId) { Group group = GroupDB.GetGroup(GroupId); return(new GroupViewModel(group.ID, group.Name, group.CreatedDate, group.Receviers.Select(r => r.UserName).ToList())); }