public string returnValue(bool shouldExecute, string someValue) { if (shouldExecute) { return(serviceA.ReturnValue(someValue)); } return(""); }