Aggiunta selezione negozio
This commit is contained in:
17
SteUp.Shared/Core/Services/IntegrySteupService.cs
Normal file
17
SteUp.Shared/Core/Services/IntegrySteupService.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using IntegryApiClient.Core.Domain.RestClient.Contacts;
|
||||
using SteUp.Shared.Core.Dto;
|
||||
using SteUp.Shared.Core.Interface.IntegryApi;
|
||||
|
||||
namespace SteUp.Shared.Core.Services;
|
||||
|
||||
public class IntegrySteupService(IIntegryApiRestClient integryApiRestClient) : IIntegrySteupService
|
||||
{
|
||||
private const string BaseRequest = "steup";
|
||||
|
||||
#region Retrieve
|
||||
|
||||
public Task<List<PuntoVenditaDto>> RetrievePuntiVendita() =>
|
||||
integryApiRestClient.AuthorizedGet<List<PuntoVenditaDto>>($"{BaseRequest}/getPuntiVendita")!;
|
||||
|
||||
#endregion
|
||||
}
|
||||
Reference in New Issue
Block a user