public bool ChangePassword(PasswordRequest passwordData) { bool success = false; try { success = profileService.ChangePassword(passwordData); } catch { } return(success); }
public async Task <ActionResult <bool> > ChangePassword([FromBody] ChangePasswordModel model) { return(await this.ExecuteWithOkResponse(async() => await _profileService.ChangePassword(model))); }