//   [HttpGet]
 //   public IActionResult Upsert(int? id)
 public IActionResult Upsert(int?id)
 {
     CustomerType = new CustomerType();
     if (id == null || id == 0)
     {
         return(View(CustomerType));
     }
     CustomerType = _CustomerTypeService.FindCustomerType(id);
     if (CustomerType == null)
     {
         return(NotFound());
     }
     return(View(CustomerType));
     //return View("Upsert");
 }