mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
fix RunRouteAction methods
This commit is contained in:
@@ -405,12 +405,7 @@ namespace PepperDash.Essentials
|
|||||||
/// <param name="successCallback"></param>
|
/// <param name="successCallback"></param>
|
||||||
public void RunRouteAction(string routeKey, string sourceListKey)
|
public void RunRouteAction(string routeKey, string sourceListKey)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(sourceListKey))
|
RunRouteAction(routeKey, new Action(() => { }));
|
||||||
{
|
|
||||||
RunRouteAction(routeKey, new Action(() => { }));
|
|
||||||
}
|
|
||||||
else
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -421,12 +416,8 @@ namespace PepperDash.Essentials
|
|||||||
/// <param name="successCallback"></param>
|
/// <param name="successCallback"></param>
|
||||||
public void RunRouteAction(string routeKey, string sourceListKey, Action successCallback)
|
public void RunRouteAction(string routeKey, string sourceListKey, Action successCallback)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(sourceListKey))
|
|
||||||
{
|
|
||||||
RunRouteAction(routeKey, successCallback);
|
RunRouteAction(routeKey, successCallback);
|
||||||
}
|
|
||||||
else
|
|
||||||
throw new NotImplementedException();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user