Example #1
0
        public static SelectList GetReversalData(string plant, string facode)
        {
            IZaapShiftRptService zaapBll = MvcApplication.GetInstance <ZaapShiftRptService>();
            var zaapList         = zaapBll.GetReversalData(plant, facode);
            var selectItemSource = Mapper.Map <List <SelectItemModel> >(zaapList);

            return(new SelectList(selectItemSource, "ValueField", "TextField"));
        }