Esempio n. 1
0
        public IViewComponentResult Invoke(CustomDisplayModel model, bool disabled = false)
        {
            var viewModel = new SelectForCompanyModel
            {
                Model              = model,
                Disabled           = disabled,
                CustomerSelectList = _context.SelectList_客户()
            };

            return(View(viewModel));
        }