// public ActionResult Details(Guid id) { var model = service.GetDetails(id, UserId); if (model == null) { return(HttpNotFound()); } return(View(model)); }