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

23 lines
590 B
C#

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