Esempio n. 1
0
 public async Task UpdateById(ProBasket entity, uint id)
 {
     command.proBaskets.Attach(entity);
     command.Update(id);
     await command.SaveChangesAsync();
 }
Esempio n. 2
0
 public async Task UpdateById(CatalogItem entity, uint id)
 {
     command.catalogItems.Attach(entity);
     command.Update(id);
     await command.SaveChangesAsync();
 }