public SqlLocalizedTypesRepository(ILocalizationDbContext db) { if (db == null) throw new ArgumentNullException("db"); _db = db; }