DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/Subsystems/AdminSubsystemController.cs

23 lines
590 B
C#
Raw Normal View History

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