using WyvernInventory.Core.Interfaces.Repos; using WyvernInventory.Core.Interfaces.Services; using WyvernInventory.Core.Models; namespace WyvernInventory.Infrastructure.Services; public class InventoryItemService(IInventoryItemRepo repo) : IInventoryItemService { private IInventoryItemRepo _repo = repo; public async Task> GetAsync(List? filter = null) => await _repo.GetAsync(filter); public async Task<(int created, int updated)> UpsertAsync(List items) => await _repo.UpsertAsync(items); public async Task DeleteAsync(List items) => await _repo.DeleteAsync(items); }