constellation-api/CH.Api/AppModule.cs

22 lines
454 B
C#

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)
{
services.AddModule<DalModule>();
services.AddModule<SharedModule>();
services.AddModule<CommandModule>();
services.AddModule<QueryModule>();
services.AddModule<AuthorityModule>();
return services;
}
}