예제 #1
0
 public ActionResult Read()
 {
     try
     {
         return(this.Store(BeneNextRepo.GetBeneNextList()));
     }
     catch (System.Exception)
     {
         throw;
     }
 }
 public ActionResult AddEmployerBatchTab(string containerId = "MainArea")
 {
     try
     {
         var pvr = new Ext.Net.MVC.PartialViewResult
         {
             ViewName    = "EmployerBatchPartial",
             Model       = BeneNextRepo.GetBeneNextList(),
             ContainerId = containerId,
             RenderMode  = RenderMode.AddTo,
         };
         X.Mask.Hide();
         this.GetCmp <TabPanel>(containerId).SetLastTabAsActive();
         return(pvr);
     }
     catch (System.Exception)
     {
         X.Mask.Hide();
         throw;
     }
 }