示例#1
0
 public GroupUser Add(GroupUser groupUser)
 {
     context.GroupUsers.Add(groupUser);
     context.SaveChanges();
     return(groupUser);
 }
示例#2
0
 public Group Add(Group group)
 {
     context.Groups.Add(group);
     context.SaveChanges();
     return(group);
 }
 public Event Add(Event myEvent)
 {
     context.Events.Add(myEvent);
     context.SaveChanges();
     return(myEvent);
 }
示例#4
0
 public IsGoing Create(IsGoing isGoing)
 {
     context.IsGoings.Add(isGoing);
     context.SaveChanges();
     return(isGoing);
 }
示例#5
0
 public FreeTime Add(FreeTime freeTime)
 {
     context.FreeTime.Add(freeTime);
     context.SaveChanges();
     return(freeTime);
 }