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)); }
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)); }
public RemindersController(IRemindersService remindersService) { this.remindersService = remindersService; }
public CreateReminderModel(IRemindersService remindersService, UserManager <User> userManager) { this.remindersService = remindersService; this.userManager = userManager; }
/// <summary> /// Constructor for Reminders functions of McKenzies Pharmacy API /// </summary> public RemindersController(IRemindersService remindersService, ICustomersService customersService) { _remindersService = remindersService; _customersService = customersService; }
public DeleteReminderModel(IRemindersService remindersService) { this.remindersService = remindersService; }
public RemindersCommonController(IRemindersService remindersService, IFinanceService financeService) { this.remindersService = remindersService ?? throw new ArgumentNullException(nameof(remindersService)); this.financeService = financeService ?? throw new ArgumentNullException(nameof(financeService)); }