Esempio n. 1
0
 public UserBudgetsAppService(ExpensesTrackerContext context,
                              UserBudgetsDomainService budgetDomainService)
 {
     _context             = context ?? throw new ArgumentNullException("context");
     _budgetDomainService = budgetDomainService;
 }
Esempio n. 2
0
 public ExpensesCategoriesAppService(ExpensesTrackerContext context)
 {
     _context       = context ?? throw new ArgumentNullException("context");
     _domainService = new ExpensesCategoryDomainService();
 }
 public ReportsController(ExpensesTrackerContext context)
 {
     _context = context;
     _userBudgetAppService = new UserBudgetsAppService(_context, new UserBudgetsDomainService());
 }
Esempio n. 4
0
 public ExpenseCategoriesController(ExpensesTrackerContext context)
 {
     _context = context;
     _expensesCategoriesAppService = new ExpensesCategoriesAppService(_context);
 }