public async Task <IViewComponentResult> InvokeAsync(int courseId, int topicId) { var tasks = _taskData.GetTasksOfCourse(new TaskFilter() { CourseId = courseId, TopicId = topicId }).OrderBy(t => t.Order).ToList(); return(View(tasks)); }
public async Task <IViewComponentResult> InvokeAsync(int courseId, int topicId) { var tasks = _taskData.GetTasksOfCourse(new TaskFilter() { CourseId = courseId, TopicId = topicId }).OrderBy(t => t.Order).ToList(); return(View(tasks)); }