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

24 lines
641 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)
{ }
}
}