private static void ImportSollarSystems(IServicesUniOfWork unitOfWork)
        {
            string json = File.ReadAllText(SollarSystemJsonFilePath);
            IEnumerable <ISollarSystemDto> sollarSystems = JsonConvert.DeserializeObject <IEnumerable <SollarSystemDto> >(json);

            unitOfWork.SollarSystemDbService.AddSollarSystemsInRange(sollarSystems);
            unitOfWork.UpdateDb();
        }
        private static void ImportPersons(IServicesUniOfWork unitOfWork)
        {
            string json = File.ReadAllText(PersonJsonFilePath);

            IEnumerable <IPersonDto> persons = JsonConvert.DeserializeObject <IEnumerable <PersonDto> >(json);

            unitOfWork.PersonDbService.AddPersonsInRange(persons);
            unitOfWork.UpdateDb();
        }
        private static void ImportAnomalies(IServicesUniOfWork unitOfWork)
        {
            string json = File.ReadAllText(AnomalyJsonFilePath);

            IEnumerable <IAnomalyDto> anomalies = JsonConvert.DeserializeObject <IEnumerable <AnomalyDto> >(json);

            unitOfWork.AnomalyDbService.AddAnomaliesInRange(anomalies);
            unitOfWork.UpdateDb();
        }
        private static void ImportPlanets(IServicesUniOfWork unitOfWork)
        {
            string json = File.ReadAllText(PlanetJsonFilePath);

            IEnumerable <IPlanetDto> planets = JsonConvert.DeserializeObject <IEnumerable <PlanetDto> >(json);

            unitOfWork.PlanetDbService.AddPlanetsInRange(planets);
            unitOfWork.UpdateDb();
        }
        private static void ImportStars(IServicesUniOfWork unitOfWork)
        {
            string json = File.ReadAllText(StarJsonFilePath);

            IEnumerable <IStarDto> stars = JsonConvert.DeserializeObject <IEnumerable <StarDto> >(json);

            unitOfWork.StarDbService.AddStarsInRange(stars);
            unitOfWork.UpdateDb();
        }