// GET: Transport public ActionResult Index() { var userId = Guid.Parse(User.Identity.GetUserId()); var service = new TransportService(userId); var model = service.GetTransports(); return(View(model)); }