public async Task <bool> Confirm(ConfirmAdvertRequestModel model)
        {
            var advertModel = _mapper.Map <ConfirmAdvertModel>(model);
            var jsonModel   = JsonConvert.SerializeObject(advertModel);
            var response    = await _client
                              .PutAsync(new Uri(uriString : $"{_client.BaseAddress}/confirm"), new StringContent(jsonModel, Encoding.UTF8, "application/json"))
                              .ConfigureAwait(continueOnCapturedContext : false);

            return(response.StatusCode == System.Net.HttpStatusCode.OK);
        }
        private async Task ConfirmAdvertAsync(string id, string filePath, AdvertStatus status)
        {
            var confirmModel = new ConfirmAdvertRequestModel {
                Id = id, FilePath = filePath, Status = AdvertStatus.Active
            };
            var confirmApiCallResult = await _advertApiClient.Confirm(confirmModel).ConfigureAwait(false);

            if (!confirmApiCallResult)
            {
                throw new Exception(message: $"Cannot confirm advert of id={id}");
            }
        }