public ActionResult Edit(int id) { var userId = Guid.Parse(User.Identity.GetUserId()); var service = new SkillService(userId); var model = service.Edit(id); return(View(model)); }