public TEntity Update(TEntity entity) { _dbContext.Entry(entity).State = EntityState.Modified; return(entity); }