private static HttpClient BuildAuthenticatingHttpClientFrom(ReservationsConfig config)
 {
     return(new HttpClient(new AuthenticatingHttpClientHandler(config.AuthenticationToken))
     {
         BaseAddress = new Uri(config.BaseUrl)
     });
 }
        public static ReservationsClient BuildClient(ReservationsConfig config)
        {
            var adminApi = RestService.For <IAdminApi>(BuildAuthenticatingHttpClientFrom(config));

            return(new ReservationsClient(adminApi));
        }