forked from ddrilling/AsbCloudServer
21 lines
527 B
C#
21 lines
527 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)
|
|
{
|
|
}
|
|
}
|