Type businessType = typeof(Business);
MethodInfo methodInfo = businessType.GetMethod("Get");
Type type = null;
if (entityType == EntityTypes.Seasons) type = typeof(Seasons);
else if(entityType == EntityTypes.Leagues) type = typeof(Leagues);
MethodInfo constructedMethod = methodInfo.MakeGenericMethod(type);
object instance = Activator.CreateInstance(businessType);
List<Seasons> dataSource = (List<Seasons>) constructedMethod.Invoke(instance, new object[] { 1, "0" });
Type businessType = typeof(Business);
MethodInfo methodInfo = businessType.GetMethod("Get");
Type type = null;
if (entityType == EntityTypes.Seasons) type = typeof(Seasons);
else if(entityType == EntityTypes.Leagues) type = typeof(Leagues);
MethodInfo constructedMethod = methodInfo.MakeGenericMethod(type);
object instance = Activator.CreateInstance(businessType);
List<Seasons> dataSource = (List<Seasons>) constructedMethod.Invoke(instance, new object[] { 1, "0" });