mirror of
https://github.com/Bubuni-Team/telegram-bot.git
synced 2026-07-31 00:29:24 +03:00
20 lines
548 B
C#
20 lines
548 B
C#
|
|
using Kruzya.TelegramBot.Core;
|
||
|
|
using Microsoft.Extensions.DependencyInjection;
|
||
|
|
using West.TelegramBot.ContentStore.Service;
|
||
|
|
|
||
|
|
namespace West.TelegramBot.ContentStore;
|
||
|
|
|
||
|
|
public class ContentStore : Module
|
||
|
|
{
|
||
|
|
public ContentStore(Core core) : base(core)
|
||
|
|
{
|
||
|
|
}
|
||
|
|
|
||
|
|
public override void ConfigureServices(IServiceCollection services)
|
||
|
|
{
|
||
|
|
services.AddSingleton<OBoobsService>();
|
||
|
|
services.AddSingleton<CatApiService>();
|
||
|
|
services.AddSingleton<DogApiService>();
|
||
|
|
services.AddSingleton<AnimBoobsService>();
|
||
|
|
}
|
||
|
|
}
|