public void SetForm(AddFromInventory form)
        {
            _form = form;

            _form.ProductCategories = _productCategoryRepository.GetAll();
            _form.Inventories = _inventoryRepository.GetAll();
        }
示例#2
0
        public void SetForm(AddFromInventory form)
        {
            _form = form;

            _form.ProductCategories = _productCategoryRepository.GetAll();
            _form.Inventories       = _inventoryRepository.GetAll();
        }