DD.WellWorkover.Cloud/AsbCloudWebApi/Controllers/AdminCompanyController.cs

22 lines
574 B
C#
Raw Normal View History

2021-09-10 11:28:57 +05:00
using AsbCloudApp.Data;
using AsbCloudApp.Services;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace AsbCloudWebApi.Controllers
{
2022-06-16 17:37:10 +05:00
/// <summary>
/// Редактор компаний для админки
/// </summary>
2021-09-10 11:28:57 +05:00
[Route("api/admin/company")]
[ApiController]
[Authorize]
public class AdminCompanyController : CrudController<CompanyDto, ICrudRepository<CompanyDto>>
2021-09-10 11:28:57 +05:00
{
public AdminCompanyController(ICrudRepository<CompanyDto> service)
2021-09-10 11:28:57 +05:00
: base(service)
{
}
}
}