public T Build <T>() where T : class
        {
            if (_context.HttpClient == null)
            {
                _context.HttpClient = new HttpClient();
            }

            if (_context.SerializationManager == null)
            {
                _context.SerializationManager = new SerializationManager(_serializers, _deserializers);
            }

            if (_context.DomainExceptionMapperFactory == null)
            {
                _context.DomainExceptionMapperFactory = new DefaultDomainExceptionMapperFactory();
            }

            var client = new RestClient <T>(_context);

            return(_duckTyping.DuckType <T>(client));
        }
        public T Build <T>() where T : class
        {
            var client = new DatabaseClient <T>(_context);

            return(_duckTyping.DuckType <T>(client));
        }