public async Task <IActionResult> ChangePassword(ChangeUserPasswordDto payload) { var result = await _authenticateService.ChangePassword(payload); return(Ok(result)); }
public async Task <IActionResult> ChangePassword(ChangePasswordDto model) { await _authenticateService.ChangePassword(model.CurrentPassword, model.NewPassword); return(Ok()); }