public Group(string groupName, GroupType groupType, ApplicationUser admin) : this() { Name = groupName; GroupType = groupType; Administrator = admin; }
public void DelGroupType(GroupType groupType) { context.GroupTypes.Remove(groupType); context.SaveChanges(); }
public void AddGroupType(GroupType groupType) { context.GroupTypes.Add(groupType); context.SaveChanges(); }