コード例 #1
0
ファイル: DependencyController.cs プロジェクト: zzdxpq007/xms
        public IActionResult CheckDependents(int requiredComponentType, Guid requiredId)
        {
            DependentComponentsModel model = new DependentComponentsModel();

            model.Items = _dependencyLookupFactory.GetDependents(requiredComponentType, requiredId);
            return(View("DependentComponents", model));
        }
コード例 #2
0
ファイル: DependencyController.cs プロジェクト: zzdxpq007/xms
        public IActionResult DependentComponents([FromBody] List <DependentDescriptor> dependents)
        {
            DependentComponentsModel model = new DependentComponentsModel();

            model.Items = dependents;
            return(View(model));
        }