public Department Add(Department department) { context.Departments.Add(department); context.SaveChanges(); return(department); }
public void Add(Apply apply) { context.Applies.Add(apply); context.SaveChanges(); }
public Employee Add(Employee employee) { context.Employees.Add(employee); context.SaveChanges(); return(employee); }
public MoveDep Add(MoveDep move) { context.MoveDeps.Add(move); context.SaveChanges(); return(move); }