[store] Reduce amount of hardcoded values.

This commit is contained in:
West14
2022-02-16 18:08:02 +02:00
parent d99c71c07c
commit cd8b25bcb8
9 changed files with 32 additions and 46 deletions
@@ -1,6 +1,9 @@
namespace West.TelegramBot.ContentStore.Service;
using West.TelegramBot.ContentStore.Model;
namespace West.TelegramBot.ContentStore.Service;
public class DogApiService : AnimalAsAService
{
public override StoreItem StoreItem { get; } = new("dog", "Пёсель", 40);
public DogApiService() : base(new Uri("https://api.thedogapi.com/v1/")) {}
}