예제 #1
0
        public ActionResult ListProduct(Int32?Page, String InvoiceDescription, Int32?FamilyId, Int32?SubFamilyId, Int32?FatherId)
        {
            var model = new ListProductViewModel();

            model.Fill(CargarDatosContext(), Page, InvoiceDescription, FamilyId, SubFamilyId, FatherId);
            return(View(model));
        }
예제 #2
0
        public async System.Threading.Tasks.Task <ActionResult> ListProduct()
        {
            var vm = new ListProductViewModel();
            await vm.Fill(CargarDatosContext());

            return(View(vm));
        }
예제 #3
0
        public ActionResult ListProduct(Int32?p)
        {
            var vm = new ListProductViewModel();

            vm.Fill(CargarDatosContext(), p);
            return(View(vm));
        }