예제 #1
0
 public TripDetailViewModel(IItemService itemService, IChoreService choreService, ICategoryService categoryService, IContentDialogService contentDialogService)
 {
     _itemService          = itemService;
     _choreService         = choreService;
     _categoryService      = categoryService;
     _contentDialogService = contentDialogService;
 }
 public SMSApprovalService(IRepository repository, ISaveService saveService, ISpendService spendService,
                           ICharityService charityService, IChoreService choreService, ISMSApprovalHistory smsApprovalHistory) : base(repository)
 {
     _saveService        = saveService;
     _spendService       = spendService;
     _charityService     = charityService;
     _choreService       = choreService;
     _smsApprovalHistory = smsApprovalHistory;
 }
 /// <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;
 }
예제 #4
0
        public MainForm(IAuthService authService, IFormFactory formFactory, IChoreService choreService,
                        IPlantService plantService)
        {
            _authService  = authService;
            _formFactory  = formFactory;
            _choreService = choreService;
            _plantService = plantService;
            InitializeComponent();
            // Save();
            LoadChores();

            lblYourName.Text = @$ "Hello {_authService.Name}!";
        }
예제 #5
0
 public NotificationService(IRepository _repository, ITextMessageService textMessageService, IEmailTemplateService emailTemplateService,
                            IEmailService emailService, IEmailHistoryService emailHistoryService, ISMSApprovalHistory smsApprovalHistory,
                            IFamilyService familyService, IChoreService choreService, IEarningsService earningServices) : base(_repository)
 {
     _textMessageService   = textMessageService;
     _emailTemplateService = emailTemplateService;
     _emailService         = emailService;
     _emailHistoryService  = emailHistoryService;
     _smsApprovalHistory   = smsApprovalHistory;
     _familyService        = familyService;
     _choreService         = choreService;
     _earningServices      = earningServices;
 }
예제 #6
0
 public ChoreController(IChoreService choreService)
 {
     _choreService = choreService;
 }
예제 #7
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;
 }
		public ChoresController(IUnitOfWorkAsync unitOfWorkAsync, IChoreService choreService, ITimeService time)
		{
			_unitOfWorkAsync = unitOfWorkAsync;
			_choreService = choreService;
			_time = time;
		}
예제 #9
0
 public RecurringChoreService(IRepository repository, IChoreService choreService, IFamilyService familyService) : base(repository)
 {
     _choreService  = choreService;
     _familyService = familyService;
 }
예제 #10
0
 public HomeController(IChoreService choreService, ILogger <HomeController> logger)
 {
     this.choreService = choreService;
     this.logger       = logger;
 }
 public updateChoreRecords(IChoreService makeChorePaymentService)
 {
     _makeChorePaymentService = makeChorePaymentService;
 }
예제 #12
0
 public ChoreController(ILogger <ChoreController> logger, IChoreService choreService)
 {
     _logger       = logger;
     _choreService = choreService;
 }
예제 #13
0
 public SearchController(IRobotService robotService, IChoreService choreService)
 {
     _choreService = choreService;
     _robotService = robotService;
 }
 public CancelPandingPaydayRequest(IChoreService cancelChoreService)
 {
     _cancelChoreService = cancelChoreService;
 }
예제 #15
0
 public ChoresController(IUnitOfWorkAsync unitOfWorkAsync, IChoreService choreService, ITimeService time)
 {
     _unitOfWorkAsync = unitOfWorkAsync;
     _choreService    = choreService;
     _time            = time;
 }