public Task LogoutAsync(User user) { try { if (IsConnectionOk()) { return(ClientInstance.LogoutAsync(user)); } } catch (Exception ex) { HandleException(); } return(null); }