public bool ChangePassword(PasswordRequest passwordData)
        {
            bool success = false;

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