/// <summary>
        /// To get the user details while login and display it when "continue" is clciked
        /// </summary>
        private void GetUserDetailsWebService()
        {
            string apiUrl = RxConstants.getUserDetails;
            try
            {
                LoginParameters objLoginparameters = new LoginParameters
                {
                    Mail = App.LoginEmailId,
                    Pharmacyid = App.LoginPharId.ToUpper(),
                    Pin = App.HashPIN,
                    system_version = "android",
                    app_version = "1.6",
                    branding_version = "MLP"
                };

                WebClient userdetailswebservicecall = new WebClient();
                var uri = new Uri(apiUrl, UriKind.RelativeOrAbsolute);

                var json = JsonHelper.Serialize(objLoginparameters);
                userdetailswebservicecall.Headers["Content-type"] = "application/json";
                userdetailswebservicecall.UploadStringCompleted += userdetailswebservicecall_UploadStringCompleted;

                userdetailswebservicecall.UploadStringAsync(uri, "POST", json);
            }
            catch (Exception)
            {

                MessageBox.Show("Sorry, Unable to process your request.");
            }
           
        }
        /// <summary>
        /// Get User Details web service call
        /// </summary>
        private void GetUserDetailsWebService()
        {
            string apiUrl = RxConstants.getUserDetails;
            LoginParameters objLoginparameters = new LoginParameters
            {
                Mail = App.LoginEmailId,
                Pharmacyid = App.LoginPharId.ToUpper(),
                Pin = Utilities.GetSHA256( enterPinViewModel.Pin),
                system_version = "android",
                app_version = "1.6",
                branding_version = "MLP"

            };

            WebClient userdetailswebservicecall = new WebClient();
            var uri = new Uri(apiUrl, UriKind.RelativeOrAbsolute);

            var json = JsonHelper.Serialize(objLoginparameters);
            userdetailswebservicecall.Headers["Content-type"] = "application/json";
            userdetailswebservicecall.UploadStringCompleted += userdetailswebservicecall_UploadStringCompleted;

            userdetailswebservicecall.UploadStringAsync(uri, "POST", json);
        }