public virtual int SoftDelete <TModel>(TModel entity) where TModel : CreationAndDeletionEntity { entity.MarkDeleted(); return(DbDapper.Update(entity, DbConnection, DbTransaction)); }
public virtual T Update(T cate) { DbDapper.Update(cate, DbConnection, DbTransaction); return(cate); }