Переименование контроллера

This commit is contained in:
Olga Nemt 2024-10-17 15:47:23 +05:00
parent f0f8044e77
commit e5874a8cba

View File

@ -1,43 +1,27 @@
using AsbCloudApp.Data;
using AsbCloudApp.Repositories;
using AsbCloudApp.Requests;
using AsbCloudApp.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Threading;
using System.Threading.Tasks;
using AsbCloudApp.Services.WellReport;
using Microsoft.AspNetCore.Http;
using System;
using AsbCloudApp.Repositories;
using System.Linq;
using AsbCloudApp.Requests;
using AsbCloudInfrastructure.Services;
namespace AsbCloudWebApi.Controllers;
/// <summary>
///
/// Контроллер для построения страницы "Качество"
/// </summary>
[Route("api/[controller]")]
[ApiController]
//[Authorize]
public class ServiceOperationController : ControllerBase
[Authorize]
public class DrillingQualityController : ControllerBase
{
private readonly IWellService wellService;
private readonly IDataSaubStatRepository<DataSaubStatDrillingQualityDto> dataSaubStatRepository;
private readonly ITelemetryService telemetryService;
private readonly IDataSaubStatDrillingQualityService dataSaubStatDrillingQualityService;
public ServiceOperationController(
IWellService wellService,
ITelemetryService telemetryService,
IDataSaubStatDrillingQualityService dataSaubStatDrillingQualityService,
IDataSaubStatRepository<DataSaubStatDrillingQualityDto> dataSaubStatRepository)
public DrillingQualityController(IDataSaubStatDrillingQualityService dataSaubStatDrillingQualityService)
{
this.wellService = wellService;
this.dataSaubStatRepository = dataSaubStatRepository;
this.telemetryService = telemetryService;
this.dataSaubStatDrillingQualityService = dataSaubStatDrillingQualityService;
}