|
@ -487,8 +487,8 @@ namespace BCS.BMC.Controllers |
|
|
var contents = await response.Content.ReadAsStringAsync(); |
|
|
var contents = await response.Content.ReadAsStringAsync(); |
|
|
ForgotPasswordUserResponse result = JsonConvert.DeserializeObject<ForgotPasswordUserResponse>(contents); |
|
|
ForgotPasswordUserResponse result = JsonConvert.DeserializeObject<ForgotPasswordUserResponse>(contents); |
|
|
var emailOrPhone = result.result; |
|
|
var emailOrPhone = result.result; |
|
|
int num; |
|
|
|
|
|
bool isMobile = Int32.TryParse(emailOrPhone,out num); |
|
|
|
|
|
|
|
|
long num; |
|
|
|
|
|
bool isMobile = Int64.TryParse(emailOrPhone,out num); |
|
|
if (isMobile) |
|
|
if (isMobile) |
|
|
{ |
|
|
{ |
|
|
result.type = "phoneNo"; |
|
|
result.type = "phoneNo"; |
|
|