public HttpResponseMessage PendingVerification(SenderRequestModel requestModel)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Invalid Request");
            }

            requestModel = new SenderRequestModel()
            {
                CountryName = requestModel.CountryName,
                PhoneNumber = requestModel.PhoneNumber,
                IsoCodes = requestModel.IsoCodes.ToUpper(),
                ErrorMessage = requestModel.ErrorMessage,
                IsSmsSuccessfull = requestModel.IsSmsSuccessfull,
                SmsRequestId = requestModel.SmsRequestId
            };

            VerificationAction verifyActions = new VerificationAction();
            SenderResponseModel responseModel = verifyActions.SenderRequest(requestModel);

            if (responseModel.Error != null)
            {
                return Request.CreateResponse(HttpStatusCode.OK, responseModel, "application/json");
                
            }

            return Request.CreateResponse(HttpStatusCode.OK, responseModel, "application/json");
        }
        [ActionName("verifymobile")]                        //[Route("api/verification/verifymobile/{PhoneNumber}")]
        public HttpResponseMessage VerifyMobile(ClientRequestModel requestModel)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Invalid Request");
            }

            requestModel = new ClientRequestModel
            {
                //PhoneNumber = "0341087",
                //CountryCode = "PK"

                PhoneNumber = requestModel.PhoneNumber,
                CountryCode = requestModel.CountryCode
            };


            VerificationAction verifyActions = new VerificationAction();
            ClientResponseModel responseModel = verifyActions.VerifyMobile(requestModel);

            if (responseModel.Error != null)
            {
                return Request.CreateResponse(HttpStatusCode.OK, responseModel , "application/json");
            }

            return Request.CreateResponse(HttpStatusCode.OK, responseModel, "application/json");
        }
        public HttpResponseMessage VerificationStatus(int RequestId)
        {
            if (!ModelState.IsValid)
            {
                return Request.CreateErrorResponse(HttpStatusCode.BadRequest, "Invalid Request");
            }


            VerificationAction verifyActions = new VerificationAction();
            BaseResponseModel responseModel = verifyActions.VerificationStatus(RequestId);

            if (responseModel.Error != null)
            {
                return Request.CreateResponse(HttpStatusCode.OK, responseModel , "application/json");
            }

            return Request.CreateResponse(HttpStatusCode.OK, responseModel, "application/json");
        }