public static void UpdateEntities(IEnumerable <Entity> models)
        {
            using (var context = new WorldContext())
            {
                foreach (Entity model in models)
                {
                    EntityEntry <Entity> entity = context.Attach(model);
                    entity.State = EntityState.Modified;
                }

                context.SaveChanges();
            }
        }