コード例 #1
0
 public CNWService(
     ICNWRoutesRepository cnwRoutesRepository,
     ICNWPaymentsRepository cnwPaymentsRepository,
     ICNWRatesRepository cnwRatesRepository,
     IRemindersService remindersService)
 {
     this.cnwRoutesRepository   = cnwRoutesRepository ?? throw new ArgumentNullException(nameof(cnwRoutesRepository));
     this.cnwPaymentsRepository = cnwPaymentsRepository ?? throw new ArgumentNullException(nameof(cnwPaymentsRepository));
     this.cnwRatesRepository    = cnwRatesRepository ?? throw new ArgumentNullException(nameof(cnwRatesRepository));
     this.remindersService      = remindersService ?? throw new ArgumentNullException(nameof(remindersService));
 }
コード例 #2
0
 public FinanceService(
     IFinanceRepository financeRepository,
     ISpendingService spendingService,
     IIncomeService incomeService,
     IRemindersService remindersService,
     IBaseService baseService,
     ICNWService cnwService)
 {
     this.financeRepository = financeRepository ?? throw new ArgumentNullException(nameof(financeRepository));
     this.spendingService   = spendingService ?? throw new ArgumentNullException(nameof(spendingService));
     this.incomeService     = incomeService ?? throw new ArgumentNullException(nameof(incomeService));
     this.remindersService  = remindersService ?? throw new ArgumentNullException(nameof(remindersService));
     this.baseService       = baseService ?? throw new ArgumentNullException(nameof(baseService));
     this.cnwService        = cnwService ?? throw new ArgumentNullException(nameof(cnwService));
 }
コード例 #3
0
 public RemindersController(IRemindersService remindersService)
 {
     this.remindersService = remindersService;
 }
コード例 #4
0
 public CreateReminderModel(IRemindersService remindersService,
                            UserManager <User> userManager)
 {
     this.remindersService = remindersService;
     this.userManager      = userManager;
 }
コード例 #5
0
 /// <summary>
 /// Constructor for Reminders functions of McKenzies Pharmacy API
 /// </summary>
 public RemindersController(IRemindersService remindersService,
                            ICustomersService customersService)
 {
     _remindersService = remindersService;
     _customersService = customersService;
 }
コード例 #6
0
 public DeleteReminderModel(IRemindersService remindersService)
 {
     this.remindersService = remindersService;
 }
コード例 #7
0
 public RemindersCommonController(IRemindersService remindersService, IFinanceService financeService)
 {
     this.remindersService = remindersService ?? throw new ArgumentNullException(nameof(remindersService));
     this.financeService   = financeService ?? throw new ArgumentNullException(nameof(financeService));
 }