DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminWellController.cs

23 lines
585 B
C#

using AsbCloudApp.Data;
using AsbCloudApp.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using System.Threading;
using System.Threading.Tasks;
namespace AsbCloudWebApi.Controllers
{
/// <summary>
/// Редактор скважин для админки
/// </summary>
[Route("api/admin/well")]
[ApiController]
[Authorize]
public class AdminWellController : CrudController<WellDto, ICrudRepository<WellDto>>
{
public AdminWellController(IWellService service)
: base(service)
{ }
}
}