Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -5,6 +5,7 @@ using Microsoft.SelfService.Portal.Core.API.Events;
|
||||
using Microsoft.SelfService.Portal.Core.API.Events.Interfaces;
|
||||
using Microsoft.SelfService.Portal.Core.API.Interfaces;
|
||||
using Microsoft.SelfService.Portal.Core.API.Repository;
|
||||
using Microsoft.SelfService.Portal.Core.API.Services;
|
||||
using Microsoft.Extensions.FileProviders;
|
||||
|
||||
using System.Text.Json.Serialization;
|
||||
@@ -29,6 +30,8 @@ builder.Services.AddScoped<IRunbookInterface, RunbookRepository>();
|
||||
builder.Services.AddScoped<IDeploymentGroupInterface, DeploymentGroupRepository>();
|
||||
builder.Services.AddScoped<IDeploymentInterface, DeploymentRepository>();
|
||||
builder.Services.AddScoped<ITemplateInterface, TemplateRepository>();
|
||||
builder.Services.AddScoped<ITemplateCategoryInterface, TemplateCategoryRepository>();
|
||||
builder.Services.AddScoped<IQueueJobService, QueueJobService>();
|
||||
|
||||
// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
|
||||
Reference in New Issue
Block a user