Dependencyinjection.cs 450 B

123456789101112131415
  1. using Microsoft.Extensions.DependencyInjection;
  2. using AipGateway.API.Domain.IServices.IUtilities;
  3. namespace AipGateway.API.Application.UtilityServices
  4. {
  5. public static class Dependencyinjection
  6. {
  7. public static IServiceCollection UtilityServices(this IServiceCollection services)
  8. {
  9. services.AddTransient<IFileUploadService, FileUploadService.FileUploadService>();
  10. return services;
  11. }
  12. }
  13. }