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

23 lines
591 B
C#
Raw Permalink 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;
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-09-10 11:28:57 +05:00
}