Esempio n. 1
0
 public async Task <int> PostAsyncOld(TEntity entity)
 {
     _db.Set <TEntity>().Add(entity);
     return(await _db.SaveChangesAsync());
 }