// This method gets called by the runtime. Use this method to add services to the container. public void ConfigureServices(IServiceCollection services) { //adiciono as configuração de injeção de dependencia. ConfigureService.ConfigurarInjecaoDeDependencias(services); ConfigureRepository.ConfigurarInjecaoDeDependencias(services); services.AddControllers(); //Adiciono middleware, swagger services.AddSwaggerGen(c => { c.SwaggerDoc("v1", new Microsoft.OpenApi.Models.OpenApiInfo { Version = "v1", Title = "S3 Soluções - CRMw", Contact = new Microsoft.OpenApi.Models.OpenApiContact { Name = "Vitor Fraga Suzarte", Email = "*****@*****.**", Url = new Uri("https://www.linkedin.com/in/suzartevitor/") } }); }); }