示例#1
0
        public async System.Threading.Tasks.Task <ActionResult> ListSale()
        {
            var vm = new ListSaleViewModel();
            await vm.Fill(CargarDatosContext());

            return(View(vm));
        }
示例#2
0
        // GET: Sale
        public ActionResult ListSale(Int32?p)
        {
            var vm = new ListSaleViewModel();

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