public bool Update(TEntity entity) { _entityFrameworkDbContext.Update(entity); return(_entityFrameworkDbContext.SaveChanges() > 0); }