Example #1
0
        public async Task <IActionResult> DeleteProposal([FromRoute] Guid organizationId, [FromRoute] Guid projectId)
        {
            var result = await _proposalService
                         .DeleteProposal(_accountManager, projectId);

            return(Ok(result));
        }
Example #2
0
        public void DeleteProposal(Guid id)
        {
            if (_proposalService.ProposalExists(id))
            {
                {
                    _proposalService.DeleteProposal(id);

                    _proposalService.SaveProposal();
                }
            }
        }