Example #1
0
        public async Task <ActionResult <byte[]> > Download(Guid solutionId)
        {
            var content = await solutionService.Download(solutionId).ConfigureAwait(false);

            if (content == null)
            {
                return(NotFound());
            }

            return(File(content, "application/octet-stream"));
        }