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

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