DependencyInjection.cs 492 B

12345678910111213141516
  1. using Microsoft.Extensions.DependencyInjection;
  2. namespace AipGateway.API.Application.Modules
  3. {
  4. public static class Dependencyinjection
  5. {
  6. public static IServiceCollection AddModules(this IServiceCollection services)
  7. {
  8. //services.AddScoped<IUserService, UserService>()
  9. // .AddScoped<IRoleService, RoleService>()
  10. // .AddScoped<IAppSettingService, AppSettingService>();
  11. return services;
  12. }
  13. }
  14. }