public ActionResult MyPassport(Nullable <int> UserId) { int userId = (UserId == null) ? UtilitySystem.CurrentUserId : (int)UserId; IrmaHomeModel irmaHome = IrmaServiceSystem.GetLandingPageInfo(userId); irmaHome.Id = userId; Session["IrmaHomeModel"] = irmaHome; DataSet ds = this.GetDataSet("select * from vw_TLCPersonnelSummary where EnscoPassportNo='" + this.UserId + "'"); this.ViewBag.TimeAt = ds; return(View(irmaHome)); }