public ActionResult GetMyAll() { var identity = HttpContext.User.Identity as ClaimsIdentity; var userId = identity.Claims.ToList()[0].Value; return(Ok(_handler.GetAllMy(int.Parse(userId)))); }