First successfull build
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
namespace EnvelopeGenerator.ReceiverUI.Client.Services
|
||||
using EnvelopeGenerator.ReceiverUI.Client.Models;
|
||||
using EnvelopeGenerator.ReceiverUI.Client.Services.Base;
|
||||
|
||||
namespace EnvelopeGenerator.ReceiverUI.Client.Services;
|
||||
|
||||
public class EnvelopeService : ApiServiceBase, IEnvelopeService
|
||||
{
|
||||
public class EnvelopeService
|
||||
{
|
||||
}
|
||||
}
|
||||
public EnvelopeService(HttpClient http, ILogger<EnvelopeService> logger) : base(http, logger) { }
|
||||
|
||||
public Task<ApiResponse<IEnumerable<EnvelopeModel>>> GetEnvelopesAsync(CancellationToken ct = default)
|
||||
=> GetAsync<IEnumerable<EnvelopeModel>>("api/envelope", ct);
|
||||
|
||||
public Task<ApiResponse<IEnumerable<EnvelopeReceiverModel>>> GetEnvelopeReceiversAsync(
|
||||
CancellationToken ct = default)
|
||||
=> GetAsync<IEnumerable<EnvelopeReceiverModel>>("api/envelopereceiver", ct);
|
||||
}
|
||||
Reference in New Issue
Block a user