21 lines
704 B
C#
21 lines
704 B
C#
namespace EgwCoreLib.Lux.Data.Services.General
|
|
{
|
|
/// <summary>
|
|
/// Interfaccia servizio richiesta calcolo
|
|
/// </summary>
|
|
public interface ICalcRequestService
|
|
{
|
|
#region Public Methods
|
|
|
|
/// <summary>
|
|
/// Effettua una generica chiamata ApiRest POST
|
|
/// </summary>
|
|
/// <param name="ApiUrl">URL Api di base</param>
|
|
/// <param name="ApiRequest">Endpoint richiesta</param>
|
|
/// <param name="rawBody">Corpo Json trasmesso con richiesta</param>
|
|
/// <returns>Risposta dalla chiamata REST</returns>
|
|
Task<RestResponse> CallRestPost(string ApiUrl, string ApiRequest, object rawBody);
|
|
|
|
#endregion Public Methods
|
|
}
|
|
} |