protected Repository() { Context = new MoneyManagerContext(); DbSet = Context.Set <TEntity>(); }
public BaseRepository(MoneyManagerContext moneyManagerContext) { MoneyManagerContext = moneyManagerContext; _entities = MoneyManagerContext.Set <T>(); }