Esempio n. 1
0
        //Get
        public override Task <CourseReply> GetCourse(CourseIdRequest request, ServerCallContext context)
        {
            Course poco = _Courselogic.Get(request.CourseID);


            return(Task.FromResult <CourseReply>(FromPoco(poco)));
        }
Esempio n. 2
0
 public ActionResult AddStudentForm()
 {
     return(View(new StudentCourseViewModel {
         CoursesList = courseRepository.Get().ToList()
     }));
 }