コード例 #1
0
        public ActionResult UpdateCollege(Guid id)
        {
            CollegeService      collegeService = new CollegeService();
            CollegeDetailsModel modelToDisplay = new CollegeDetailsModel();

            modelToDisplay = collegeService.GetCollege(id);
            return(View(modelToDisplay));
        }
コード例 #2
0
        public ActionResult ViewCollege(Guid id)
        {
            CollegeService      collegeService = new CollegeService();
            CollegeDetailsModel modelToView    = new CollegeDetailsModel();

            modelToView = collegeService.GetCollege(id);
            return(View(modelToView));
        }