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