public void SaveChanges(MoreTimeRequestContext context) { context.SaveChanges(); }
public void UpdateTimeRequest(MoreTimeRequestContext context, MoreTimeRequest request) { context.MoreTimeRequests.Update(request); }
public void AddTimeRequest(MoreTimeRequestContext context, MoreTimeRequest moreTimeRequest) { context.MoreTimeRequests.Add(moreTimeRequest); }
public List <MoreTimeRequest> AllTimeRequests(MoreTimeRequestContext context) { var requests = context.MoreTimeRequests.ToList(); return(requests); }
public int NumTimeRequests(MoreTimeRequestContext context) { return(context.MoreTimeRequests.Count()); }