public async Task Set_Rereg_Bids_Success()
        {
            var apiFactory = new ApiFactory();

            var contacts = new Contacts
            {
                Description = "Vschizh site",
                Person = "Svyatoslav V Ryurik",
                PersonLocalName = "Рюрик Святослав Владимирович",
                Passport = "22 44 668800, выдан по месту жилья 01.09.2004",
                BirthDate = new DateTime(1984, 9, 1),
                PersonAddress = "12345, г. Вщиж, ул. Княжеска, д.1, Рюрику Святославу Владимировичу, князю Вщижскому",
                Phone = "+7 495 1234567",
                Email = "*****@*****.**",
                Country = "RU"
            };

            var inputData = new SetReregBidsInputData
            {
                Contacts = contacts,
                Domains = new Domain[]
                {
                    new Domain { Name = "0147.ru.ru", Price = 999 },
                    new Domain { Name = "billy.su", Price = 499 }
                },
                NSServer = new NSServer()
            };

            var result = await apiFactory.Domain.SetReregBidsAsync(username, password, inputData);

            Assert.IsNotNull(result);
        }
        public Task<Result<DomainAnswer>> SetReregBidsAsync(string username, string password, SetReregBidsInputData inputData)
        {
            Contract.Requires<ArgumentNullException>(!String.IsNullOrEmpty(username), "Username can not be null or empty.");
            Contract.Requires<ArgumentNullException>(!String.IsNullOrEmpty(password), "Password can not be null or empty.");
            Contract.Requires<ArgumentNullException>(inputData != null, "Input Data can not be null or empty.");

            return Task.FromResult(default(Result<DomainAnswer>));
        }
        public async Task<Result<DomainAnswer>> SetReregBidsAsync(string username, string password, SetReregBidsInputData inputData)
        {
            var querySettings = new QuerySettings
            {
                UserName = username,
                Password = password,
                InputData = JsonConvert.SerializeObject(inputData)
            };

            string settings = querySettings.ToString();
            var fullURI = CreateUri(DomainProviderSettings.SETREREGBIDS, settings);

            var json = await _requestManager.Get(fullURI);
            var result = JsonConvert.DeserializeObject<Result<DomainAnswer>>(json);

            return result;
        }