示例#1
0
        public async Task <ActionResult> OnPostAsync()
        {
            var template = CreateTemplateInfo();

            var result = await _solutionBuilder.BuildAsync(
                template,
                CompanyAndProjectName,
                DatabaseProvider,
                Version,
                ReplaceLocalReferencesToNuget
                );

            return(File(result.ZipContent, "application/zip", result.ProjectName + ".zip"));
        }