Пример #1
0
 public async Task <IActionResult> DownloadProposal(string id)
 {
     Guid.TryParse(id, out Guid ProposalGuid);
     return(await _proposalPdfService.GenerateProposal(ProposalGuid));
 }
Пример #2
0
 public async Task <IActionResult> GetProposalPdf([FromRoute] Guid organizationId, [FromRoute] Guid proposalId)
 {
     return(await _proposalPdfService.GenerateProposal(_accountManager, proposalId));
 }
Пример #3
0
 public async Task <IActionResult> GetProposalPdf([FromRoute] Guid organizationId, [FromRoute] Guid proposalId)
 {
     return(await _proposalPdfService.GenerateProposal((IProviderAgencyOwner)_agencyOwner, proposalId));
 }