Пример #1
0
 public PeriodRepository(JuliusContext context) : base(context)
 {
 }
Пример #2
0
 public IncomeRepository(JuliusContext context, IMapper mapper) : base(context)
 {
     _mapper = mapper;
     _dbSet  = context.Set <Income>();
 }
Пример #3
0
 public BaseRepository(JuliusContext context)
 {
     _context = context;
     _dataSet = _context.Set <T>();
 }
Пример #4
0
 public ExpenseRepository(JuliusContext context, IMapper mapper) : base(context)
 {
     _mapper = mapper;
     _dbSet  = context.Set <Expense>();
 }