public bool UpdateDepartment(string name, string code, int?managerId, EnumDepartmentsType.DepartmentType departmentType, int?superiorDepartmentId, int id) { return(_logic.UpdateDepartment(name, code, managerId, departmentType, superiorDepartmentId, id)); }