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