public async Task EditInventoryEntryAsync(InventoryEntry entry) { InventoryEntryValidator.Validate(entry); await inventoryRepository.EditEntryAsync(entry); }
public async Task CreateEntryAsync(InventoryEntry entry) { InventoryEntryValidator.Validate(entry); await inventoryRepository.CreateEntryAsync(entry); }