using System; using myBlazorApp.Components; using myBlazorApp.Models; namespace myBlazorApp.Services { public interface IDataService { Task Add(ItemModel model); Task Count(); Task> List(int currentPage, int pageSize); Task GetById(int id); Task Update(int id, ItemModel model); Task Delete(int id); Task> GetRecipes(); Task> GetInventoryItems(); Task UpdateInventory(string[] infos); } }