mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 04:20:55 +00:00
13 lines
466 B
C#
13 lines
466 B
C#
namespace CartriX.Api.Interfaces
|
|
{
|
|
public interface ICartridgeService
|
|
{
|
|
public Task<List<Entities.Cartridge>> GetListAsync();
|
|
public Task<Entities.Cartridge?> GetAsync(int id);
|
|
public Task<List<string>> GetModelsListAsync();
|
|
public Task AddAsync(DTOs.Cartridge.Add dataCartridge);
|
|
public Task<List<Entities.CartridgeModel>> GetModelNameAndManufacturerAsync();
|
|
public Task<bool> DeleteAsync(int id);
|
|
}
|
|
}
|