You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
TP-Blazor/myBlazorApp/Services/IDataService.cs

21 lines
545 B

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