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

22 lines
581 B
C#

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