public ActionResult Success(string Id) { ViewBag.Title = "Успішно"; var model = UniversityBusiness.Get(Id); return(View(model)); }
public ActionResult ComputePage(string UniversityID = null, int choose = 0, bool contract = false, bool award = false) { ViewBag.Title = "Розрахунок для абітурієнта"; if (choose == 0 || UniversityBusiness.Get(UniversityID) == null || (contract == award && award == true)) { return(View()); } else { UniversityInfo univer; univer = UniversityBusiness.GetInfo(UniversityID, contract, award, choose); return(View(univer)); } }