Example #1
0
        public ActionResult Update(string id)
        {
            YC.Models.Station model;
            if (string.IsNullOrEmpty(id))
            {
                model = new YC.Models.Station();
            }
            else
            {
                model = stationDb.FindByID(id);
            }


            return(View(model));
        }