forked from ddrilling/AsbCloudServer
23 lines
590 B
C#
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)
|
|
{
|
|
}
|
|
}
|
|
|