26 lines
612 B
C#
26 lines
612 B
C#
using CH.Authority;
|
|
using CH.CQRS;
|
|
using PoweredSoft.Module.Abstractions;
|
|
using CH.Dal;
|
|
using CH.CryptoStats.CoinMarketCap;
|
|
using CH.CryptoStats.CoinGecko;
|
|
|
|
|
|
namespace CH.Api;
|
|
|
|
public class AppModule : IModule
|
|
{
|
|
public IServiceCollection ConfigureServices(IServiceCollection services)
|
|
{
|
|
services.AddModule<DalModule>();
|
|
services.AddModule<SharedModule>();
|
|
services.AddModule<CommandModule>();
|
|
services.AddModule<QueryModule>();
|
|
services.AddModule<CoinMarketCapModule>();
|
|
services.AddModule<CoinGeckoModule>();
|
|
services.AddModule<AuthorityModule>();
|
|
|
|
return services;
|
|
}
|
|
}
|