public virtual void Update <TEntity>(TEntity entity) where TEntity : class { // todo: Add code related to update entity before to commit changes in database DbContext.Update(entity); }
public virtual void Update <TEntity>(TEntity entity) where TEntity : class { DbContext.Update(entity); }