public CategoryService(FukiziPfmDbContext context) { var expenditureCategoryService = new ExpenditureCategoryService(new ExpenditureCategoryRepository(context)); CategoryHandlerServices = new Dictionary <EnumCategoryType, ICategoryService <Category> >() { { EnumCategoryType.Expenditure, expenditureCategoryService } }; }
public ExpenditureRepository(FukiziPfmDbContext context) { _fukiziPfmContext = context; }
public CategoryHelper(FukiziPfmDbContext context) { _fukiziPfmContext = context; }
public RevenueCategoryRepository(FukiziPfmDbContext context) { _fukiziPfmContext = context; }
public MonthRevenueExpenditureService(FukiziPfmDbContext context) { _expenditureService = new ExpenditureService(new ExpenditureRepository(context)); _revenueService = new RevenueService(new RevenueRepository(context)); }