Beispiel #1
0
        public async Task <IActionResult> GetTasksListAsync(TaskFilter filter, ListOptions options, [FromServices] ITasksListQuery query)
        {
            var response = await query.RunAsync(filter, options);

            return(Ok(response));
        }
Beispiel #2
0
        public async Task <IActionResult> GetTasksListAsync(int projectId, [FromServices] ITasksListQuery query)
        {
            ListResponse <ProjectTaskResponse> response = await query.RunAsync(projectId);

            return(Ok(response));
        }