Files
telegram-bot/modules/ContentStore/Service/DogApiService.cs
T

10 lines
356 B
C#
Raw Normal View History

2022-02-16 18:08:02 +02:00
using West.TelegramBot.ContentStore.Model;
namespace West.TelegramBot.ContentStore.Service;
2022-02-16 17:07:30 +02:00
public class DogApiService : AnimalAsAService
{
public override StoreItem StoreItem { get; } = new("dog", "Пёсель", 40, 20);
2023-07-28 23:14:36 +03:00
public DogApiService(IHttpClientFactory factory) :
base(factory, new Uri("https://api.thedogapi.com/v1/")) {}
2022-02-16 17:07:30 +02:00
}