public IActionResult Index()
 {
     // 1. *************RETRIEVE ALL NAMES DETAILS ******************
     // GET: Names
     try
     {
         List<Name> myList = new List<Name>();                
         myList = NameDB.GetNames();
         ModelState.Clear();
         return View(myList);
     }
     catch (Exception ex)
     {
         return View();                
     }           
 }
 public IActionResult ShowData()
 {
     // 1. *************RETRIEVE ALL NAMES DETAILS ******************
     // GET: Names
     try
     {
         List<Name> myList = new List<Name>();
         //Name tmp1 = new Name() { ID = 1, FirstName = "Dan", LastName = "Test" };
         //Name tmp2 = new Name() { ID = 2, FirstName = "Tom", LastName = "Brady" };
         //myList.Add(tmp1);
         //myList.Add(tmp2);
         myList = NameDB.GetNames();
         ModelState.Clear();
         return View(myList);
     }
     catch (Exception ex)
     {
         return View();
         //throw;
     }            
 }