예제 #1
0
        // GET: Class/Details/5
        public ActionResult Details(Guid id)
        {
            ClassModel classModel = new ClassModel();

            classModel = classRepository.GetClassById(id);
            return(View("Details", classModel));
        }
예제 #2
0
 public Class GetClassById(int id)
 {
     return(Repository.GetClassById(id));
 }