Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
public async Task <IActionResult> AddPassword([FromBody] AddPasswordModel addPasswordModel, CancellationToken cancellationToken) { var identity = HttpContext.User.Identity as ClaimsIdentity; if (identity != null) { var login = identity.FindFirst(JwtRegisteredClaimNames.GivenName).Value; var result = await _walletService.AddNewPassowrd(addPasswordModel, login, cancellationToken); return(Ok(result)); } return(BadRequest()); }