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)); }
public async System.Threading.Tasks.Task <ActionResult> ListProduct() { var vm = new ListProductViewModel(); await vm.Fill(CargarDatosContext()); return(View(vm)); }
public ActionResult ListProduct(Int32?p) { var vm = new ListProductViewModel(); vm.Fill(CargarDatosContext(), p); return(View(vm)); }