Customer ICustomerRepository.GetCustomerById(Guid id) { var result = client.GetJsonData($"customer?id={id}"); return(client.DeserialiseJson <Customer>(result)); }