forked from ddrilling/AsbCloudServer
21 lines
538 B
C#
21 lines
538 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
/// <summary>
|
|
/// Справочник бурильщиков
|
|
/// </summary>
|
|
[Route("api/driller")]
|
|
[ApiController]
|
|
[Authorize]
|
|
public class DrillerController : CrudController<DrillerDto, ICrudRepository<DrillerDto>>
|
|
{
|
|
public DrillerController(ICrudRepository<DrillerDto> service)
|
|
: base(service)
|
|
{ }
|
|
}
|
|
}
|