public GroupUser Add(GroupUser groupUser) { context.GroupUsers.Add(groupUser); context.SaveChanges(); return(groupUser); }
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); }
public IsGoing Create(IsGoing isGoing) { context.IsGoings.Add(isGoing); context.SaveChanges(); return(isGoing); }
public FreeTime Add(FreeTime freeTime) { context.FreeTime.Add(freeTime); context.SaveChanges(); return(freeTime); }