コード例 #1
0
        public ViewResult Display(VisitedLocationsDisplayViewModel model)
        {
            if (model.SelectedLocationIds == null)
            {
                model.SelectedLocationIds = new List<int>();
            }

            var locations = GetAllLocations();
            model.AllLocations = locations;
            model.Message = Strings.SelectLocationsMessage;

            return View(model);
        }
コード例 #2
0
 public ViewResult Display(VisitedLocationsDisplayViewModel model)
 {
     return View(model);
 }