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