public virtual async Task <TEntity> AddAsync(TEntity obj) { await _Repository.AddAsync(obj); await _UnitOfWork.CommitAsync(); return(obj); }
public async Task <TEntity> AddAsync(TEntity obj) => await _Repository.AddAsync(obj);