Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public IActionResult LoginAdmin(LoginDto loginDetails) { if (_adminUserRepository.ValidUserAdmin(loginDetails)) { return(new ObjectResult(GenerateTokenAdmin(loginDetails.UserName))); } return(BadRequest()); }