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

24 lines
641 B
C#
Raw Normal View History

using AsbCloudApp.Data.User;
using AsbCloudApp.Repositories;
2021-09-10 11:28:57 +05:00
using AsbCloudApp.Services;
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]
public class AdminUserController : CrudController<UserExtendedDto, ICrudRepository<UserExtendedDto>>
2021-09-10 11:28:57 +05:00
{
public AdminUserController(IUserRepository service)
2022-04-11 18:00:34 +05:00
: base(service)
{ }
2021-09-10 11:28:57 +05:00
}
}