mirror of
https://github.com/PacktPublishing/Learn-WinUI-3-Second-Edition.git
synced 2026-06-20 12:23:09 +00:00
11 lines
313 B
C#
11 lines
313 B
C#
using Refit;
|
|
|
|
namespace UnoMediaCollection.Services.Endpoints
|
|
{
|
|
[Headers("Content-Type: application/json")]
|
|
public interface IApiClient
|
|
{
|
|
[Get("/api/weatherforecast")]
|
|
Task<ApiResponse<IImmutableList<WeatherForecast>>> GetWeather(CancellationToken cancellationToken = default);
|
|
}
|
|
} |