public async Task <IActionResult> GenerateProposal([FromRoute] Guid organizationId, [FromRoute] Guid projectId, [FromBody] ProposalOptions input) { var p = await _proposalService .Create(_accountManager, projectId, input); return(Ok(p)); }
public async Task <IActionResult> Create([FromRoute] Guid organizationId, [FromRoute] Guid projectId, [FromBody] ProposalOptions model ) { var p = await _proposalService .Create(_agencyOwner, projectId, model); return(Ok(p)); }