DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminCompanyController.cs
ngfrolov 6512a7e752 doc
2022-06-16 17:37:10 +05:00

22 lines
568 B
C#

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