public ActionResult CTS260() { CTS260_ScreenParameter param = GetScreenObject <CTS260_ScreenParameter>(); if (param != null) { ViewBag.strProjectCode = param.strProjectCode; } IProjectHandler ProjH = ServiceContainer.GetService <IProjectHandler>() as IProjectHandler; List <tbt_ProjectStockoutBranchIntrumentDetails> lstBranch; lstBranch = ProjH.GetTbt_ProjectStockoutBranchIntrumentDetails(param.strProjectCode); if (lstBranch.Count > 0) { ViewBag.BranchDDL = lstBranch[0].ProjectCodeBranchNo; } return(View()); }