public ActionResult GetCustomerProfile(string userid)
        {
            // CustumerViewMode cv = new CustumerViewMode();
            // CustumerProfileModel res = new CustumerProfileModel();
            try
            {
                var res = ValueController.GetCutomerProfile(userid);
                if (res.Fname != null && res.Lname != null && res.Mname != null)
                {
                    string   address = res.FullAddress.Trim();
                    string[] ad      = address.Split(',');
                    res.DoorNo   = ad[0];
                    res.Address1 = ad[1];
                    res.Address2 = ad[2];
                    res.Zipcode  = ad[3];
                    s.profile    = res;
                }
                else
                {
                    s.profile = null;
                }
            }
            catch (Exception ex)
            {
                //ViewBag.error = ex;
                if (ex != null)
                {
                    ModelState.AddModelError(string.Empty, "Server Error. Please contact administrator.");
                }
            }

            return(View("Settings", s));
        }