Files
CartriX/CartriX.Api/Interfaces/IPrinterService.cs
T

18 lines
688 B
C#

using CartriX.Shared.DTOs.Printer;
using CartriX.Shared.Models;
namespace CartriX.Api.Interfaces
{
public interface IPrinterService
{
public Task<List<Printer>> GetAll();
public Task<Printer?> GetById(int id);
public Task<Printer> AddPrinterAsync(CreatePrinterRequestDto requestDto);
public Task<QueryPrinterToAdd?> GetPrinterListParametersFromSNMPAsync(string ipAddressOrHostname);
public Task<string> GetQueryPrintAllDataFromSnmpAsync(string ipAddress, string Oid);
public Task<List<PrinterModel>> GetAllPrinterModel();
public Task<List<PrintType>> GetAllPrintTypes();
string ChangeLocationDataSNMP();
}
}