cleaning up unnecessary dependencies

This commit is contained in:
eugeniy_ivanov 2023-01-25 05:41:29 +05:00
parent 907fcc88e8
commit 325c5054fe

View File

@ -29,8 +29,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram
private readonly IWellService wellService; private readonly IWellService wellService;
private readonly IConfiguration configuration; private readonly IConfiguration configuration;
private readonly BackgroundWorker backgroundWorker; private readonly BackgroundWorker backgroundWorker;
private readonly IEmailService emailService; private readonly IEmailService emailService;
private readonly IServiceProvider serviceProvider;
private const int idFileCategoryDrillingProgram = 1000; private const int idFileCategoryDrillingProgram = 1000;
private const int idFileCategoryDrillingProgramPartsStart = 1001; private const int idFileCategoryDrillingProgramPartsStart = 1001;
@ -59,8 +58,7 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram
IWellService wellService, IWellService wellService,
IConfiguration configuration, IConfiguration configuration,
BackgroundWorker backgroundWorker, BackgroundWorker backgroundWorker,
IEmailService emailService, IEmailService emailService)
IServiceProvider serviceProvider)
{ {
this.context = context; this.context = context;
this.fileService = fileService; this.fileService = fileService;
@ -69,8 +67,6 @@ namespace AsbCloudInfrastructure.Services.DrillingProgram
this.configuration = configuration; this.configuration = configuration;
this.backgroundWorker = backgroundWorker; this.backgroundWorker = backgroundWorker;
this.emailService = emailService; this.emailService = emailService;
this.serviceProvider = serviceProvider;
} }
public async Task<IEnumerable<UserDto>> GetAvailableUsers(int idWell, CancellationToken token = default) public async Task<IEnumerable<UserDto>> GetAvailableUsers(int idWell, CancellationToken token = default)