2021-09-10 11:28:57 +05:00
|
|
|
|
using AsbCloudApp.Data;
|
|
|
|
|
using AsbCloudApp.Services;
|
|
|
|
|
using Microsoft.AspNetCore.Authorization;
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
|
|
|
|
namespace AsbCloudWebApi.Controllers
|
|
|
|
|
{
|
2022-06-16 17:37:10 +05:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Редактор кустов для админки
|
|
|
|
|
/// </summary>
|
2021-09-10 11:28:57 +05:00
|
|
|
|
[Route("api/admin/cluster")]
|
|
|
|
|
[ApiController]
|
|
|
|
|
[Authorize]
|
2022-12-01 15:56:11 +05:00
|
|
|
|
public class AdminClusterController : CrudController<ClusterDto, ICrudRepository<ClusterDto>>
|
2021-09-10 11:28:57 +05:00
|
|
|
|
{
|
2022-12-01 15:56:11 +05:00
|
|
|
|
public AdminClusterController(ICrudRepository<ClusterDto> service)
|
2022-04-11 18:00:34 +05:00
|
|
|
|
: base(service)
|
2022-06-15 14:57:37 +05:00
|
|
|
|
{ }
|
2021-09-10 11:28:57 +05:00
|
|
|
|
}
|
|
|
|
|
}
|