Exemplo n.º 1
0
        // GET : City/New
        public ActionResult New()
        {
            var cityViewModel = new CityViewModel();

            ViewBag.Title = _cityServices.CheckIsExistingCity(cityViewModel.Id);
            return(View("CityForm", cityViewModel));
        }