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