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