示例#1
0
 public Department CreateObject(Department department, IBranchOfficeService _branchOfficeService)
 {
     department.Errors = new Dictionary <String, String>();
     return(_validator.ValidCreateObject(department, this, _branchOfficeService) ? _repository.CreateObject(department) : department);
 }