public static Dev2DecisionCallbackHandler ShowSwitchDropDialog(IEnvironmentModel environment, string webModel)
{
const int DialogWidth = 752;
const int DialogHeight = 161;
var callBackHandler = new Dev2DecisionCallbackHandler { ModelData = webModel };
const string RelativeUriString = "switch/drop";
if(!IsTestMode)
{
environment.ShowWebPageDialog(SiteName, RelativeUriString, callBackHandler, DialogWidth, DialogHeight, "Switch Flow");
}
else
{
TestModeRelativeUri = RelativeUriString;
}
return callBackHandler;
}