コード例 #1
0
ファイル: BS.cs プロジェクト: Galib43/OEMS
        public ActionResult Index(BatchSearchCriteria model)
        {
            var batches = _batchManager.GetBatchBySearch(model);

            if (batches == null)
            {
                batches = new List <Batch>();
            }
            model.OrganizationListItem = GetOrganizationList();
            model.ListOfBatch          = batches;


            return(View(model));
        }
コード例 #2
0
ファイル: BatchController.cs プロジェクト: nunnasir/EMS
        //Index and Batch Search
        public ActionResult Index(BatchSearchCriteria model)
        {
            var batch = _batchManager.GetBatchBySearch(model);



            if (batch == null)
            {
                batch = new List <Batch>();
            }


            model.ListOfBatch = batch;

            return(View(model));
        }