private Country GetCountry(Country c)
        {
            var country = _entities.Countries.Where(o => o.Code == c.Code).FirstOrDefault();

            if (country == null)
            {
                country = new Country {
                    Name = c.Name, Code = c.Code
                };
                _entities.AddToCountries(country);
                _entities.SaveChanges();
            }
            return(country);
        }