public async Task DeleteTrip(string code)
        {
            var error = "";

            try
            {
                if (string.IsNullOrEmpty(_docDbDigitalMainCollectionName))
                {
                    throw new Exception("No Digital Main collection defined!");
                }

                var trip = await RetrieveTrip(code);

                if (trip == null)
                {
                    throw new Exception($"Unable to locate a trip with code {code}");
                }

                var response = await(await GetCosmosContainer()).DeleteItemAsync <TripItem>(trip.Id, new PartitionKey(code.ToUpper()));
                await _changeNotifierService.TripDeleted(trip);
            }
            catch (Exception ex)
            {
                error = ex.Message;
                throw new Exception(ex.Message, ex);
            }
            finally
            {
                _loggerService.Log($"{LOG_TAG} - DeleteTrip - Error: {error}");
            }
        }
        public async Task DeleteTrip(string code)
        {
            var    error = "";
            double cost  = 0;

            try
            {
                if (string.IsNullOrEmpty(_docDbDigitalMainCollectionName))
                {
                    throw new Exception("No Digital Main collection defined!");
                }

                var trip = await RetrieveTrip(code);

                if (trip == null)
                {
                    throw new Exception($"Unable to locate a trip with code {code}");
                }

                var            link           = (string)trip.Self;
                RequestOptions requestOptions = new RequestOptions {
                    PartitionKey = new Microsoft.Azure.Documents.PartitionKey(code.ToUpper())
                };
                var response = await(await GetDocDBClient(_settingService)).DeleteDocumentAsync(link, requestOptions);
                cost += response.RequestCharge;

                await _changeNotifierService.TripDeleted(trip);
            }
            catch (Exception ex)
            {
                error = ex.Message;
                throw new Exception(error);
            }
            finally
            {
                _loggerService.Log($"{LOG_TAG} - DeleteTrip - Error: {error}");
            }
        }