Beispiel #1
0
 public HRFacadeSimple(IEmployeeRepository employeeRepository, IWorkSheetRepository workSheetRepository,
                       IHRFactory factory, IPayCalculator payCalculator)
 {
     this.employeeRepository  = employeeRepository;
     this.workSheetRepository = workSheetRepository;
     this.factory             = factory;
     this.payCalculator       = payCalculator;
 }
 public HRFacadeWithNotification(IEmployeeRepository employeeRepository, IWorkSheetRepository workSheetRepository,
                                 IHRFactory factory, IPayCalculator payCalculator, ISendMail mailSender)
 {
     this.employeeRepository  = employeeRepository;
     this.workSheetRepository = workSheetRepository;
     this.factory             = factory;
     this.payCalculator       = payCalculator;
     this.mailSender          = mailSender;
 }
Beispiel #3
0
        public WorkApplicationService(
            ITransaction transaction,
            IWorkRepository workRepository,
            IAssigneeRepository assigneeRepository,
            IEpicRepository epicRepository,
            IWorkSheetRepository workSheetRepository)
        {
            _transaction         = transaction;
            _workRepository      = workRepository;
            _assigneeRepository  = assigneeRepository;
            _epicRepository      = epicRepository;
            _workSheetRepository = workSheetRepository;

            var mappingConfig = AutoMapperConfiguration.RegisterMappings();

            _mapper = mappingConfig.CreateMapper();
        }