Beispiel #1
0
        public async Task <ActionResult> CreateSupplierCreditMemo()
        {
            var suppliers = (await _supplierService.GetSupplier()).Items;
            var products  = (await _productService.GetProduct()).Items;

            var model = new CreateSupplierCreditMemoViewModel
            {
                Suppliers = suppliers,
                Products  = products
            };

            return(View("CreateSupplierCreditMemo", model));
        }
Beispiel #2
0
        public async Task <ActionResult> Create()
        {
            var suppliers = (await _supplierService.GetSupplier()).Items;
            var products  = (await _productService.GetProduct()).Items;

            var model = new CreateSupplierCreditMemoViewModel
            {
                Suppliers         = suppliers,
                Products          = products,
                LoginInformations = await _sessionAppService.GetCurrentLoginInformations(),
            };

            return(View("Create", model));
        }