示例#1
0
 public StatusEtaController(IInitiativeStatusEtaRepository initiativeStatusEtaRepository,
                            Serilog.ILogger logger)
 {
     EnsureArg.IsNotNull(initiativeStatusEtaRepository);
     EnsureArg.IsNotNull(logger);
     _logger = logger;
     _initiativeStatusEtaRepository = initiativeStatusEtaRepository;
 }
        public InitiativeStatusEtaService(IInitiativeStatusEtaRepository initiativeStatusEtaRepository,
                                          IBusinessCalendarService businessCalendarService,
                                          Serilog.ILogger logger)
        {
            EnsureArg.IsNotNull(initiativeStatusEtaRepository);
            EnsureArg.IsNotNull(businessCalendarService);
            EnsureArg.IsNotNull(logger);

            _initiativeStatusEtaRepository = initiativeStatusEtaRepository;
            _businessCalendarService       = businessCalendarService;
            _logger = logger;
        }