public Guid createPaymentSchedule(PaymentSchedule PaymentSchedule) { context.PaymentSchedules.Add(PaymentSchedule); context.SaveChanges(); return(PaymentSchedule.PayrollCategoryId); }
public Guid createPerson(Person person) { context.Persons.Add(person); context.SaveChanges(); return(person.Id); }
// States public Guid createState(State state) { state.Id = Guid.NewGuid(); context.States.Add(state); context.SaveChanges(); return(state.Id); }