/// <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); }
public ActionResult Create(string year) { var pm = new PoolModel(); var model = new PoolViewModel(); model.Pool = pm; model.TipYear = year; return View("Create", model); }