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

24 lines
644 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;
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)
{
}
}
2022-09-07 18:01:39 +05:00
}