public async Task UpdateObject(CountryCurrencyObject o) { dbSet.Update(o.DbRecord); await db.SaveChangesAsync(); }
public async Task DeleteObject(CountryCurrencyObject o) { dbSet.Remove(o.DbRecord); await db.SaveChangesAsync(); }
public async Task AddObject(CountryCurrencyObject o) { dbSet.Add(o.DbRecord); await db.SaveChangesAsync(); }