public IViewComponentResult Invoke(hsButton SetObjectManager) { if (SetObjectManager is bsButtonLink) { return(View("Link", SetObjectManager)); } else if (SetObjectManager is bsButtonInput) { return(View("Input", SetObjectManager)); } else { return(View(SetObjectManager)); } }
public IViewComponentResult Invoke(hsButton SetObjectManager) { return(View(SetObjectManager)); }