public IActionResult CreateCountry(Country c) { //6. have it really create a country //Not DEPENDENCY INJECTION try { ICountryDAO countryDAO = new CountrySqlDAO(@"Data Source=.\sqlexpress;Initial Catalog=world;Integrated Security=true;"); countryDAO.AddCountry(c); } catch (Exception e) { //SINCE our sql is broke as a joke we should return oops return(RedirectToAction("oops")); } //5. path of least resistance is to send them to the dora page return(RedirectToAction("Confirmation")); }