Exemple #1
0
        public IActionResult GetPublicProposals()
        {
            var indentity = HttpContext.User.Identity as ClaimsIdentity;
            var userId    = Guid.Parse(indentity.FindFirst("UserId").Value);

            return(Ok(_proposalService.GetPublicProposals(userId)));
        }