Esempio n. 1
0
        // GET: Master
        public ActionResult Employee()
        {
            COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel
            {
            };

            return(View(viewModel));
        }
Esempio n. 2
0
        public ViewResult MainCategory()
        {
            COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel
            {
                COW_MenuListByJsonInquiryMainMenu = repository.COW_MenuListByJsonInquiry().ToList()
            };

            return(View(viewModel));
        }
Esempio n. 3
0
        // GET: Menu
        public ActionResult Index()
        {
            COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel
            {
                //COW_MenuInquiry = repository.COW_MenuInquiry("Menu")
            };

            return(View(viewModel));
        }
Esempio n. 4
0
        public ViewResult MenuList()
        {
            COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel
            {
                COW_MenuInquiry = repository.COW_MenuInquiry("Menu")
            };

            return(View(viewModel));
        }
Esempio n. 5
0
        public PartialViewResult MiddleCategory(string category)
        {
            COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel
            {
                COW_MenuListByJsonInquiryMainMenu = repository.COW_MenuListByJsonInquiry().ToList()
                ,
                COW_MenuListByJsonInquirySubMenu = repository.COW_MenuListByJsonInquiry().Where(s => s.MenuCode == category).ToList()
            };

            return(PartialView("_MiddleCategory", viewModel));
        }