DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/Trajectory/TrajectoryFactManualController.cs

30 lines
1.2 KiB
C#
Raw Normal View History

2023-11-28 15:54:47 +05:00
using AsbCloudApp.Data.Trajectory;
using AsbCloudApp.Repositories;
using AsbCloudApp.Services;
2023-11-28 15:54:47 +05:00
using AsbCloudInfrastructure.Services.Trajectory.Export;
using AsbCloudInfrastructure.Services.Trajectory.Import;
using Microsoft.AspNetCore.Mvc;
namespace AsbCloudWebApi.Controllers.Trajectory;
/// <summary>
/// Фактическая траектория
/// </summary>
[ApiController]
[Route("api/well/{idWell}/[controller]")]
2023-11-28 15:54:47 +05:00
public class TrajectoryFactManualController : TrajectoryEditableController<TrajectoryGeoFactDto>
{
2023-11-28 15:54:47 +05:00
protected override string fileName { get; set; }
public TrajectoryFactManualController(IWellService wellService,
TrajectoryFactManualImportService factTrajectoryImportService,
TrajectoryFactManualExportService factTrajectoryExportService,
ITrajectoryEditableRepository<TrajectoryGeoFactDto> trajectoryFactRepository)
: base(
wellService,
factTrajectoryImportService,
2023-11-28 15:54:47 +05:00
factTrajectoryExportService,
trajectoryFactRepository)
{
fileName = "ЕЦП_шаблон_файлаактическая_траектория.xlsx";
}
}