コード例 #1
0
ファイル: SaleController.cs プロジェクト: Chema19/Agromin.SAV
        public async System.Threading.Tasks.Task <ActionResult> ListSale()
        {
            var vm = new ListSaleViewModel();
            await vm.Fill(CargarDatosContext());

            return(View(vm));
        }
コード例 #2
0
ファイル: SaleController.cs プロジェクト: Chema19/Agromin
        // GET: Sale
        public ActionResult ListSale(Int32?p)
        {
            var vm = new ListSaleViewModel();

            vm.Fill(CargarDatosContext(), p);
            return(View(vm));
        }
コード例 #3
0
        public ListSalePage(Block block, int floor)
        {
            InitializeComponent();

            BindingContext = new ListSaleViewModel(Navigation, block, floor);

            RentButton.CommandParameter = typeof(FormAppPage);
            SellButton.CommandParameter = typeof(FormAppSalePage);
            BuyButton.CommandParameter  = typeof(FormAppBuyPage);
            InfoButton.CommandParameter = typeof(AssignmentRightUsePage);
        }