public IActionResult CreateVacationProposal([FromBody] VacationProposalViewModel model) { var indentity = HttpContext.User.Identity as ClaimsIdentity; var userId = Guid.Parse(indentity.FindFirst("UserId").Value); return(Ok(_proposalService.CreateVacationProposal(model, userId))); }