// GET: CustomerInfo/Details/5
        public ActionResult Details(int?id)
        {
            if (id == null)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest));
            }

            var data = _repoCustomer.GetSingleRecordByCustomerId(id.Value);

            if (data == null)
            {
                return(HttpNotFound());
            }

            ViewData.Model = data;

            return(View());
        }