|
|
@ -2108,7 +2108,7 @@ namespace Business.Mobile |
|
|
|
{ |
|
|
|
ProviderId = "onewaysms", |
|
|
|
MobileNumber = mobileNo, |
|
|
|
SMSBody = s.ToString(), |
|
|
|
SMSBody = s.ToString(), |
|
|
|
ProcessId = ProcessId.Substring(ProcessId.Length - 40, 40), |
|
|
|
RequestedBy = pwdReset.Username, |
|
|
|
UserName = pwdReset.Username, |
|
|
@ -3030,15 +3030,20 @@ namespace Business.Mobile |
|
|
|
var jsonS = reader.ReadToEnd(); |
|
|
|
options = JsonConvert.DeserializeObject<List<Option>>(jsonS); |
|
|
|
} |
|
|
|
|
|
|
|
List<Option> matchingOptions = new List<Option>(); |
|
|
|
|
|
|
|
foreach (var paymentMethod in paymentMethods) |
|
|
|
{ |
|
|
|
var matchingOption = options.FirstOrDefault(option => option.Code == paymentMethod.Key); |
|
|
|
if (matchingOption != null) |
|
|
|
{ |
|
|
|
matchingOption.Value = paymentMethod.Value; |
|
|
|
matchingOptions.Add(matchingOption); |
|
|
|
} |
|
|
|
} |
|
|
|
return options; |
|
|
|
|
|
|
|
return matchingOptions; |
|
|
|
} |
|
|
|
public JsonRxResponse ValidateReferralCode(string referralCode) |
|
|
|
{ |
|
|
|