public void DropAndCreate()
        {
            DbContextValidator.Validate();
            var initalizer = new DbContextInitializer();

            initalizer.InitializeDatabase(_context);
        }
        public void Migrate()
        {
            DbContextValidator.Validate();
            var migratorConfiguration = new Configuration
            {
                TargetDatabase = new DbConnectionInfo(
                    _context.Database.Connection.ConnectionString, "System.Data.SqlClient")
            };
            var migrator = new DbMigrator(migratorConfiguration);

            migrator.Update();
        }