public ActionResult EditCP(int refNumber)
 {
     try
     {
         var item1 = _context.EditParkletApplication(refNumber);
         var item2 = new CPDashboardModel(item1);
         var model = new EditCPModel
         {
             Item1 = item1,
             Item2 = item2
         };
         return(View(model));
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
         throw;
     }
 }
 public ActionResult EditCP(EditCPModel cpa, int refNumber)
 {
     _context.UpdateParkletApplication(cpa.Item1, refNumber);
     return(RedirectToAction("CPDashboard"));
 }