constellation-api/CH.Api/AppModule.cs

26 lines
612 B
C#
Raw Permalink Normal View History

2025-01-02 17:53:38 -05:00
using CH.Authority;
using CH.CQRS;
using PoweredSoft.Module.Abstractions;
using CH.Dal;
using CH.CryptoStats.CoinMarketCap;
using CH.CryptoStats.CoinGecko;
2025-01-02 17:53:38 -05:00
namespace CH.Api;
public class AppModule : IModule
{
public IServiceCollection ConfigureServices(IServiceCollection services)
{
services.AddModule<DalModule>();
2025-01-02 17:53:38 -05:00
services.AddModule<SharedModule>();
services.AddModule<CommandModule>();
services.AddModule<QueryModule>();
services.AddModule<CoinMarketCapModule>();
services.AddModule<CoinGeckoModule>();
2025-01-02 17:53:38 -05:00
services.AddModule<AuthorityModule>();
return services;
}
}