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/TP Blazor/Services/IDataService.cs

15 lines
370 B

using TP_Blazor.Components;
using TP_Blazor.Models;
namespace TP_Blazor.Services;
public interface IDataService
{
public Task Add(ItemModel item);
Task<int> Count();
Task<List<Item>> List(int page, int pageSize);
Task<Item> GetById(int id);
Task Update(int id,ItemModel item);
Task Delete(int id);
Task<List<CraftingRecipe>> GetRecipes();
}