public RepositoryBase(RecipeMsContext db) { Db = db; DbSet = Db.Set <TEntity>(); }
public UnitOfWork() { _context = new RecipeMsContext(); }