public IActionResult CheckDependents(int requiredComponentType, Guid requiredId) { DependentComponentsModel model = new DependentComponentsModel(); model.Items = _dependencyLookupFactory.GetDependents(requiredComponentType, requiredId); return(View("DependentComponents", model)); }
public IActionResult DependentComponents([FromBody] List <DependentDescriptor> dependents) { DependentComponentsModel model = new DependentComponentsModel(); model.Items = dependents; return(View(model)); }