public async Task <int> Delete(MS_PIC entity) { Repo.Delete(entity); return(await UnitOfWork.SaveChangesAsync()); }
public async Task <int> Add(MS_PIC entity) { await Repo.Add(entity); return(await UnitOfWork.SaveChangesAsync()); }