DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminClusterController.cs
2024-08-19 10:01:07 +05:00

20 lines
509 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)
{ }
}