public async Task <ActionResult> Step4(string id) { byte[] data = await _objectDetectionAppService.GetFile(id, "generated.html"); string html = Encoding.UTF8.GetString(data); var model = new GeneratedHtmlModel { Html = html, FolderId = id }; return(View(model)); }
public async Task <ActionResult> Step5(string id) { byte[] data = await _objectDetectionAppService.GetFile(id, "generated.html"); string html = Encoding.UTF8.GetString(data); //If generated HTML image is done pass it to the view //Check if the file is there in the storage var model = new GeneratedHtmlModel { Html = html, FolderId = id }; return(View(model)); }