예제 #1
0
        public ActionResult Success(string Id)
        {
            ViewBag.Title = "Успішно";
            var model = UniversityBusiness.Get(Id);

            return(View(model));
        }
예제 #2
0
 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));
     }
 }