示例#1
0
        // GET: Home
        public ActionResult Index()
        {
            IngRepository    ingRepository    = new IngRepository();
            LicRepository    licRepository    = new LicRepository();
            MasterRepository masterRepository = new MasterRepository();
            TecRepository    tecRepository    = new TecRepository();

            var objMultipleModels = new Tuple <IEnumerable <SelectListItem>, IEnumerable <SelectListItem>, IEnumerable <SelectListItem>, IEnumerable <SelectListItem> >(ingRepository.GetAllIng(), licRepository.GetAllLic(), masterRepository.GetAllMaster(), tecRepository.GetAllTec());

            return(View(objMultipleModels));
        }