public ContentResult GenerateAcceptanceReport(int conflictId) { var file = DocGenerator.GenerateAcceptanceDeclaration(BLLConflicts.GetConflict(conflictId), User.Identity.FirstName() + " " + User.Identity.LastName()); var azureFile = AzureFileHelper.AddFile(conflictId, file.FileStream, file.FileName); return(new ContentResult() { Content = azureFile.Uri.AbsoluteUri }); }