DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminCompanyController.cs
2024-08-19 10:01:07 +05:00

21 lines
517 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, ICrudRepository<CompanyDto>>
{
public AdminCompanyController(ICrudRepository<CompanyDto> service)
: base(service)
{
}
}