Esempio n. 1
0
        /// <summary>
        /// Detail/Edit view for a pool
        /// </summary>
        /// <param name="guid"></param>
        /// <returns></returns>
        public ActionResult Detail(string year, int id)
        {
            var pm = new PoolModel();
            var model = new PoolViewModel();
            model.Pool = pm;
            model.TipYear = year;

            return View("Detail", model);
        }
Esempio n. 2
0
        public ActionResult Create(string year)
        {
            var pm = new PoolModel();
            var model = new PoolViewModel();
            model.Pool = pm;
            model.TipYear = year;

            return View("Create", model);
        }