public void InsertEmployee(Employee employee) { DBcontext.Employees.Add(employee); DBcontext.SaveChanges(); }
public void InsertDepartment(Department department) { DBcontext.Departments.Add(department); DBcontext.SaveChanges(); }