Example #1
0
        public async Task <IActionResult> Get(string projectName, [FromServices] IGetCode query)
        {
            var file = await _executor.ExecuteQueryAsync(query, new FileDto { ProjectName = projectName });

            return(File(file.Content, file.ContentType));
        }