2024-07-04 11:02:45 +05:00
|
|
|
using AsbCloudApp.Data.User;
|
2022-10-27 11:22:39 +05:00
|
|
|
using AsbCloudApp.Repositories;
|
2021-09-10 11:28:57 +05:00
|
|
|
using AsbCloudApp.Services;
|
2022-10-27 11:22:39 +05:00
|
|
|
using AsbCloudInfrastructure.Repository;
|
2021-09-10 11:28:57 +05:00
|
|
|
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/user")]
|
|
|
|
[ApiController]
|
|
|
|
[Authorize]
|
2022-12-01 15:56:11 +05:00
|
|
|
public class AdminUserController : CrudController<UserExtendedDto, ICrudRepository<UserExtendedDto>>
|
2021-09-10 11:28:57 +05:00
|
|
|
{
|
2022-10-27 11:22:39 +05:00
|
|
|
public AdminUserController(IUserRepository service)
|
2022-04-11 18:00:34 +05:00
|
|
|
: base(service)
|
|
|
|
{ }
|
2021-12-11 16:46:04 +05:00
|
|
|
|
2021-09-10 11:28:57 +05:00
|
|
|
}
|
|
|
|
}
|