If you can change the method signature the make it return
void
instead of
int
.
On the other hand, if you can't change the method signature then replace
Quote:
return objBGServices.DispatcherTimerSetup(httpClient, lati, longi, UserId);
with
objBGServices.DispatcherTimerSetup(httpClient, lati, longi, UserId);
return 0;