21 lines
556 B
C#
21 lines
556 B
C#
using API.Repository.RegistrationKeyRepo;
|
|
using Microsoft.AspNetCore.Identity;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace API.Controllers;
|
|
|
|
[ApiController]
|
|
[Route("api/registrationKey")]
|
|
public class RegistrationKeyController : ControllerBase
|
|
{
|
|
private IRegistrationKeyService _keyService;
|
|
private readonly RoleManager<IdentityRole> _roleManager;
|
|
|
|
public RegistrationKeyController(IRegistrationKeyService keyService, RoleManager<IdentityRole> roleManager)
|
|
{
|
|
_keyService = keyService;
|
|
_roleManager = roleManager;
|
|
}
|
|
|
|
|
|
} |