public IActionResult AuthenticateAdmin(AdminAuthenticationRequest request) { string jwtToken; _authenticationService.AuthenticateAdminUser(request.ToDomain(), out jwtToken); return(Ok(new { JwtToken = jwtToken })); }
public IActionResult AuthenticateAdmin(AdminAuthenticationRequest request) { string jwtToken; _authenticationService.AuthenticateAdminUser(request.ToDomain(), out jwtToken); return(Ok(new { JwtToken = jwtToken })); }