Example #1
0
        public IActionResult CreateCustomProposal([FromBody] CustomProposalViewModel model)
        {
            var indentity = HttpContext.User.Identity as ClaimsIdentity;
            var userId    = Guid.Parse(indentity.FindFirst("UserId").Value);

            return(Ok(_proposalService.CreateCustomProposal(model, userId)));
        }