Exemple #1
0
 public async Task DeleteById(ProBasket entity, uint id)
 {
     command.proBaskets.Attach(entity);
     command.Remove(id);
     await command.SaveChangesAsync();
 }
Exemple #2
0
 public async Task DeleteById(CatalogItem entity, uint id)
 {
     command.catalogItems.Attach(entity);
     command.Remove(id);
     await command.SaveChangesAsync();
 }