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;
|
|
|
|
|
2024-08-19 10:01:07 +05:00
|
|
|
namespace AsbCloudWebApi.Controllers;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Редактор пользователей для админки
|
|
|
|
/// </summary>
|
|
|
|
[Route("api/admin/user")]
|
|
|
|
[ApiController]
|
|
|
|
[Authorize]
|
|
|
|
public class AdminUserController : CrudController<UserExtendedDto, ICrudRepository<UserExtendedDto>>
|
2021-09-10 11:28:57 +05:00
|
|
|
{
|
2024-08-19 10:01:07 +05:00
|
|
|
public AdminUserController(IUserRepository service)
|
|
|
|
: base(service)
|
|
|
|
{ }
|
2021-12-11 16:46:04 +05:00
|
|
|
|
2021-09-10 11:28:57 +05:00
|
|
|
}
|