22 lines
456 B
C#
22 lines
456 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;
|
|||
|
}
|
|||
|
}
|