public BaseViewController() { _RestService = DependencyService.Get <INetworkInteraction>(); _RestService.NetworkInteractionSucceeded += (sender, e) => NetworkInteractionSucceeded(sender, e); _RestService.NetworkInteractionFailed += (sender, e) => NetworkInteractionFailed(sender, e); _RestService.NetworkCallInitialised += (sender, e) => NetworkCallInitialised(sender, e); _RestService.NetworkCallCompleted += (sender, e) => NetworkCallCompleted(sender, e); }
public RestService() { _Client = DependencyService.Get <INetworkInteraction>(); }