/// <summary>
 /// Ctor
 /// </summary>
 /// <param name="repository">Repository</param>
 public SmsBotService(IRepository repository, IFamilyService familyService, IChoreService choreService, IAppSettingsService appSettingsService,
                      IEarningsService earningsService, IRecurringChoreService recurringChoreService,
                      ITextMessageService textMessageService, ISMSApprovalService smsApprovalService) : base(repository)
 {
     _familyService         = familyService;
     _choreService          = choreService;
     _appSettingsService    = appSettingsService;
     _earningsService       = earningsService;
     _recurringChoreService = recurringChoreService;
     _textMessageService    = textMessageService;
     _smsApprovalService    = smsApprovalService;
 }
Пример #2
0
 public CreateWeeklyChores(IRecurringChoreService recurringChoreService)
 {
     _recurringChoreService = recurringChoreService;
 }
Пример #3
0
 /// <summary>
 /// Ctor
 /// </summary>
 /// <param name="choreService"></param>
 /// <param name="recurringChoreService"></param>
 /// <param name="currentUserService">Current user service</param>
 public ChoreController(IChoreService choreService, IRecurringChoreService recurringChoreService, ICurrentUserService currentUserService)
 {
     _choreService          = choreService;
     _recurringChoreService = recurringChoreService;
     _currentUserService    = currentUserService;
 }