//index
 public ActionResult Index()
 {
     return(View(continentServices.ReturnAllContinents()));
 }
 public ActionResult Create()
 {
     ViewBag.Continents = continentServices.ReturnAllContinents().ToList();
     return(View());
 }
Example #3
0
        public IHttpActionResult ShowContinents()
        {
            var data = continetService.ReturnAllContinents();

            return(Ok(data));
        }