DD.WellWorkover.Cloud/AsbCloudApp/Services/IProcessMapService.cs
Степанов Дмитрий b58cd2d636 Запрет на редактирование завершенных скважин для инженеров
1. Добавил новые права для координаторов и тех.поддержки
2. Переименовал ProcessMapReportService.cs -> ProcessMapService.cs
3. Добавил ProcessMapService.cs метод удаления записи РТК
4. Добавил проверки на наличие прав в контроллерах
5. Накатил новые миграции
2023-09-05 16:23:40 +05:00

31 lines
934 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using AsbCloudApp.Data.ProcessMap;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace AsbCloudApp.Services
{
/// <summary>
/// Сервис РТК
/// </summary>
public interface IProcessMapService
{
/// <summary>
/// Получение моделей РТК
/// </summary>
/// <param name="idWell"></param>
/// <param name="token"></param>
/// <returns></returns>
Task<IEnumerable<ProcessMapReportDto>> GetProcessMapReportAsync(int idWell, CancellationToken token);
/// <summary>
/// Удаление записи РТК
/// </summary>
/// <param name="id"></param>
/// <param name="idWell"></param>
/// <param name="token"></param>
/// <returns></returns>
Task<int> DeleteAsync(int id, int idWell, CancellationToken token);
}
}