public void doit() { if (storeData) { ResultObject result = UserServiceCalls.StoreData(data); result.handle = handle; callback(result); } else { ResultObject result = UserServiceCalls.LoadData(); result.handle = handle; callback(result); } }
public ResultObject LoadData() { return(UserServiceCalls.LoadData()); }