forked from ddrilling/AsbCloudServer
20 lines
495 B
C#
20 lines
495 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
[Route("api/admin/well")]
|
|
[ApiController]
|
|
[Authorize]
|
|
public class AdminWellController : CrudController<WellDto, ICrudService<WellDto>>
|
|
{
|
|
public AdminWellController(ICrudService<WellDto> service)
|
|
:base(service)
|
|
{
|
|
service.Incledes.Add("Telemetry");
|
|
}
|
|
}
|
|
}
|