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

23 lines
591 B
C#

using AsbCloudApp.Data.User;
using AsbCloudApp.Repositories;
using AsbCloudApp.Services;
using AsbCloudInfrastructure.Repository;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace AsbCloudWebApi.Controllers;
/// <summary>
/// Редактор пользователей для админки
/// </summary>
[Route("api/admin/user")]
[ApiController]
[Authorize]
public class AdminUserController : CrudController<UserExtendedDto, ICrudRepository<UserExtendedDto>>
{
public AdminUserController(IUserRepository service)
: base(service)
{ }
}