Beispiel #1
0
        public CategoryService(FukiziPfmDbContext context)
        {
            var expenditureCategoryService = new ExpenditureCategoryService(new ExpenditureCategoryRepository(context));

            CategoryHandlerServices = new Dictionary <EnumCategoryType, ICategoryService <Category> >()
            {
                { EnumCategoryType.Expenditure, expenditureCategoryService }
            };
        }
Beispiel #2
0
 public ExpenditureRepository(FukiziPfmDbContext context)
 {
     _fukiziPfmContext = context;
 }
Beispiel #3
0
 public CategoryHelper(FukiziPfmDbContext context)
 {
     _fukiziPfmContext = context;
 }
Beispiel #4
0
 public RevenueCategoryRepository(FukiziPfmDbContext context)
 {
     _fukiziPfmContext = context;
 }
 public MonthRevenueExpenditureService(FukiziPfmDbContext context)
 {
     _expenditureService = new ExpenditureService(new ExpenditureRepository(context));
     _revenueService     = new RevenueService(new RevenueRepository(context));
 }