//Get public override Task <CourseReply> GetCourse(CourseIdRequest request, ServerCallContext context) { Course poco = _Courselogic.Get(request.CourseID); return(Task.FromResult <CourseReply>(FromPoco(poco))); }
public ActionResult AddStudentForm() { return(View(new StudentCourseViewModel { CoursesList = courseRepository.Get().ToList() })); }