using adas_core.Domain.Models;

namespace adas_core.Application.Services.Interfaces;

public interface IApiRequestService
{
    /// <summary>
    /// Asynchronously persists the specified <see cref="ApiRequest"/>.
    /// </summary>
    /// <param name="apiRequest">The API request to be saved.</param>
    Task SaveRequestAsync(ApiRequest apiRequest);
    /// <summary>
    /// Asynchronously saves the specified API request.
    /// </summary>
    /// <param name="apiRequest">The API request to persist.</param>
    Task SaveRequest(ApiRequest apiRequest);
}