public Department Create(Department department) { EDepartment eDepartment = EDepartment(department); eDepartment = _iDDepartment.Create(eDepartment); return(Department(eDepartment)); }
public Department Create(int createdBy, Department department) { EDepartment eDepartment = EDepartment(department); eDepartment.CreatedDate = DateTime.Now; eDepartment.CreatedBy = createdBy; eDepartment = _iDDepartment.Create(eDepartment); return(Department(eDepartment)); }