@ -165,7 +165,8 @@ namespace JsonRx.Api
requestOTPModel . DeviceType = Util . GetDeviceType ( Request ) ;
requestOTPModel . DeviceType = Util . GetDeviceType ( Request ) ;
requestOTPModel . ProcessId = ProcessId ;
requestOTPModel . ProcessId = ProcessId ;
Log . Debug ( "RequestOTP | REQUEST : " + JsonConvert . SerializeObject ( requestOTPModel ) ) ;
Log . Debug ( "RequestOTP | REQUEST : " + JsonConvert . SerializeObject ( requestOTPModel ) ) ;
var staticDataResponse = _requestServices . RequestOTP ( requestOTPModel ) ;
JsonRxResponse staticDataResponse = new JsonRxResponse ( ) ;
staticDataResponse = _requestServices . RequestOTP ( requestOTPModel ) ;
return Ok ( staticDataResponse ) ;
return Ok ( staticDataResponse ) ;
}
}
@ -219,6 +220,7 @@ namespace JsonRx.Api
LogicalThreadContext . Properties [ LoggerProperty . CREATEDBY ] = model . userId ? ? model . pCurrency ;
LogicalThreadContext . Properties [ LoggerProperty . CREATEDBY ] = model . userId ? ? model . pCurrency ;
LogicalThreadContext . Properties [ LoggerProperty . METHODNAME ] = "CalculateDefExRate" ;
LogicalThreadContext . Properties [ LoggerProperty . METHODNAME ] = "CalculateDefExRate" ;
LogicalThreadContext . Properties [ LoggerProperty . IPADDRESS ] = Request . GetClientIpAddress ( ) ;
LogicalThreadContext . Properties [ LoggerProperty . IPADDRESS ] = Request . GetClientIpAddress ( ) ;
model . DeviceType = Util . GetDeviceType ( Request ) ;
Log . Debug ( "CalculateDefExRate | REQUEST : " + JsonConvert . SerializeObject ( model ) ) ;
Log . Debug ( "CalculateDefExRate | REQUEST : " + JsonConvert . SerializeObject ( model ) ) ;
if ( ModelState . IsValid )
if ( ModelState . IsValid )
{
{