forked from ddrilling/AsbCloudServer
21 lines
562 B
C#
21 lines
562 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Services;
|
|
using Microsoft.AspNetCore.Authorization;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
{
|
|
/// <summary>
|
|
/// Редактор кустов для админки
|
|
/// </summary>
|
|
[Route("api/admin/cluster")]
|
|
[ApiController]
|
|
[Authorize]
|
|
public class AdminClusterController : CrudController<ClusterDto, ICrudRepository<ClusterDto>>
|
|
{
|
|
public AdminClusterController(ICrudRepository<ClusterDto> service)
|
|
: base(service)
|
|
{ }
|
|
}
|
|
}
|