Exemplo n.º 1
0
        public ActionResult Save([FromBody] JobDto dto)
        {
            var identity = HttpContext.User.Identity as ClaimsIdentity;
            var userId   = identity.Claims.ToList()[0].Value;

            return(Ok(_handler.Save(int.Parse(userId), dto)));
        }