Esempio n. 1
0
 public async Task EditInventoryEntryAsync(InventoryEntry entry)
 {
     InventoryEntryValidator.Validate(entry);
     await inventoryRepository.EditEntryAsync(entry);
 }
Esempio n. 2
0
 public async Task CreateEntryAsync(InventoryEntry entry)
 {
     InventoryEntryValidator.Validate(entry);
     await inventoryRepository.CreateEntryAsync(entry);
 }