fix RunRouteAction methods

This commit is contained in:
Andrew Welker
2020-07-29 14:42:26 -06:00
parent 383777c0f5
commit dbafce0aa8

View File

@@ -404,14 +404,9 @@ namespace PepperDash.Essentials
/// <param name="souceListKey"></param>
/// <param name="successCallback"></param>
public void RunRouteAction(string routeKey, string sourceListKey)
{
if (string.IsNullOrEmpty(sourceListKey))
{
RunRouteAction(routeKey, new Action(() => { }));
}
else
throw new NotImplementedException();
}
/// <summary>
///
@@ -420,13 +415,9 @@ namespace PepperDash.Essentials
/// <param name="souceListKey"></param>
/// <param name="successCallback"></param>
public void RunRouteAction(string routeKey, string sourceListKey, Action successCallback)
{
if (string.IsNullOrEmpty(sourceListKey))
{
RunRouteAction(routeKey, successCallback);
}
else
throw new NotImplementedException();
}
/// <summary>