// GET: Master public ActionResult Employee() { COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel { }; return(View(viewModel)); }
public ViewResult MainCategory() { COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel { COW_MenuListByJsonInquiryMainMenu = repository.COW_MenuListByJsonInquiry().ToList() }; return(View(viewModel)); }
// GET: Menu public ActionResult Index() { COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel { //COW_MenuInquiry = repository.COW_MenuInquiry("Menu") }; return(View(viewModel)); }
public ViewResult MenuList() { COW_MenuInquiryViewModel viewModel = new COW_MenuInquiryViewModel { COW_MenuInquiry = repository.COW_MenuInquiry("Menu") }; return(View(viewModel)); }
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)); }