public void should_Clear()
        {
            _repository.Clear().Wait();
            var networks = _repository.LoadAll().ToList();

            Assert.False(networks.Any());
        }
        public async Task <IActionResult> Generate()
        {
            try
            {
                await _contactNetworkRepository.Clear();

                await _contactNetworkRepository.Generate();

                return(Ok(true));
            }
            catch (Exception e)
            {
                Log.Debug($"{e}");
                return(StatusCode(500, "Error loading"));
            }
        }