2024-07-04 11:02:45 +05:00
|
|
|
using AsbCloudApp.Data.Subsystems;
|
2022-07-14 03:47:11 +05:00
|
|
|
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>>
|
2022-07-14 03:47:11 +05:00
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
public AdminSubsystemController(ICrudRepository<SubsystemDto> service)
|
|
|
|
: base(service)
|
2022-07-14 03:47:11 +05:00
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
}
|
|
|
|
}
|
2022-07-14 03:47:11 +05:00
|
|
|
|