Пример #1
0
 public DepartmentService(
     ILogger <IDepartmentRepository> logger,
     IDepartmentRepository departmentRepository,
     IApiDepartmentRequestModelValidator departmentModelValidator,
     IBOLDepartmentMapper boldepartmentMapper,
     IDALDepartmentMapper daldepartmentMapper,
     IBOLEmployeeDepartmentHistoryMapper bolEmployeeDepartmentHistoryMapper,
     IDALEmployeeDepartmentHistoryMapper dalEmployeeDepartmentHistoryMapper)
     : base(logger,
            departmentRepository,
            departmentModelValidator,
            boldepartmentMapper,
            daldepartmentMapper,
            bolEmployeeDepartmentHistoryMapper,
            dalEmployeeDepartmentHistoryMapper)
 {
 }
 public AbstractDepartmentService(
     ILogger logger,
     IDepartmentRepository departmentRepository,
     IApiDepartmentRequestModelValidator departmentModelValidator,
     IBOLDepartmentMapper bolDepartmentMapper,
     IDALDepartmentMapper dalDepartmentMapper,
     IBOLEmployeeDepartmentHistoryMapper bolEmployeeDepartmentHistoryMapper,
     IDALEmployeeDepartmentHistoryMapper dalEmployeeDepartmentHistoryMapper)
     : base()
 {
     this.DepartmentRepository               = departmentRepository;
     this.DepartmentModelValidator           = departmentModelValidator;
     this.BolDepartmentMapper                = bolDepartmentMapper;
     this.DalDepartmentMapper                = dalDepartmentMapper;
     this.BolEmployeeDepartmentHistoryMapper = bolEmployeeDepartmentHistoryMapper;
     this.DalEmployeeDepartmentHistoryMapper = dalEmployeeDepartmentHistoryMapper;
     this.logger = logger;
 }