private static void GettingAndRefreshingTokenDoneByWrikeClient()
        {
            //TODO: why we need redirectUri?

            var wrikeClient = new WrikeClient(new WrikeAccessTokenRequest(
                                                  ClientId,
                                                  ClientSecret,
                                                  AuthorizationCode), "http://localhost");

            var colors = wrikeClient.Colors.GetAsync().Result;

            wrikeClient.RefreshToken();

            colors = wrikeClient.Colors.GetAsync().Result;
        }
        private static void GettingAndRefreshingTokenDoneByUser()
        {
            var accesTokenResponse = WrikeClient.GetAccesToken(new WrikeAccessTokenRequest(
                                                                   ClientId,
                                                                   ClientSecret,
                                                                   AuthorizationCode), "http://localhost");

            var wrikeClient = new WrikeClient(accesTokenResponse.AccessToken, accesTokenResponse.Host);

            var colors = wrikeClient.Colors.GetAsync().Result;

            var refreshTokenResponse = WrikeClient.RefreshToken(ClientId, ClientSecret,
                                                                accesTokenResponse.RefreshToken, accesTokenResponse.Host);

            wrikeClient = new WrikeClient(refreshTokenResponse.AccessToken, accesTokenResponse.Host);

            colors = wrikeClient.Colors.GetAsync().Result;
        }