Exemplo n.º 1
0
 public ApiResponse <LoginRadiusPostResponse> ResetPasswordBySecurityAnswer(
     ResetPasswordBySecurityAnswerModel resetPasswordModel)
 {
     Validate(new ArrayList
     {
         resetPasswordModel.SecurityAnswer,
         resetPasswordModel.Password,
         resetPasswordModel.UserId
     });
     return(ConfigureAndExecute <LoginRadiusPostResponse>(RequestType.Authentication, HttpMethod.Put,
                                                          _resoucePath.ChildObject("securityanswer").ToString(),
                                                          null, resetPasswordModel.ConvertToJson()));
 }