示例#1
0
 public ClientService(ILogger <ClientService> logger,
                      IClientRepository clientRepository,
                      IClientBelongingRepository clientBelongingRepository,
                      IClientIdentificationRepository clientIdentificationRepository,
                      IClientReceiptRepository clientReceiptRepository)
 {
     _logger                         = logger;
     _clientRepository               = clientRepository;
     _clientBelongingRepository      = clientBelongingRepository;
     _clientIdentificationRepository = clientIdentificationRepository;
     _clientReceiptRepository        = clientReceiptRepository;
 }
示例#2
0
 public ClientReceiptService(ILogger <ClientReceiptService> logger,
                             IClientReceiptRepository clientReceiptRepository,
                             IClientIdentificationRepository clientIdentificationRepository,
                             IClientRepository clientRepository,
                             IClientBelongingRepository clientBelongingRepository,
                             IHostingEnvironment env,
                             IDateTimeService dateTimeService,
                             IOptions <GlobalOptions> globalOptions)
 {
     _logger = logger;
     _clientReceiptRepository        = clientReceiptRepository;
     _clientIdentificationRepository = clientIdentificationRepository;
     _clientRepository          = clientRepository;
     _clientBelongingRepository = clientBelongingRepository;
     _env             = env;
     _dateTimeService = dateTimeService;
     _globalOptions   = globalOptions.Value;
 }