daily_digest/Services/IWeatherService.cs

11 lines
282 B
C#
Raw Permalink Normal View History

using DailyDigestWorker.Models; // Для WeatherData
using System.Threading.Tasks;
using System.Threading;
namespace DailyDigestWorker.Services
{
public interface IWeatherService
{
Task<WeatherData?> GetWeatherAsync(CancellationToken cancellationToken);
}
}