public IQueryable <T> Get <T>() where T : class, IView { _db.Dispose(); _db = new WaiterManagementContext(); return(_db.Set <T>()); }
public IQueryable <T> All <T>() where T : class, IEntity { return(_dbContext.Set <T>()); }
public IQueryable <T> Get <T>() where T : class, IView { _db.Dispose(); _db = new WaiterManagementContext(); return(_db.Set <T>()); }
public IQueryable <T> All <T>() where T : class, IEntity { return(_dbContext.Set <T>()); }