Exemple #1
0
 public async Task UpdateObject(CountryCurrencyObject o)
 {
     dbSet.Update(o.DbRecord);
     await db.SaveChangesAsync();
 }
Exemple #2
0
 public async Task DeleteObject(CountryCurrencyObject o)
 {
     dbSet.Remove(o.DbRecord);
     await db.SaveChangesAsync();
 }
Exemple #3
0
 public async Task AddObject(CountryCurrencyObject o)
 {
     dbSet.Add(o.DbRecord);
     await db.SaveChangesAsync();
 }