Example #1
0
File: BS.cs Project: 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));
        }
Example #2
0
        //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));
        }