public static int CountElements(this IDisplayAll displayAll) { return(displayAll.DisplayAllStudent().Count); }
//(IDisplayOne) Activator.CreateInstance(Type.GetType(ConfigurationManager.AppSetting["DisplayOneInstance"], true)); public StudentRetriveController(IDisplayAll displayAll, IDisplayOne displayOne) { this.displayAll = displayAll; this.displayOne = displayOne; }
public StudentOptions(IDisplayAll displayAll, IDisplayOne displayOne) { _displayAll = displayAll; _displayOne = displayOne; }