public GenreService(string connectionString) { _modelsContext = new DataContex(connectionString); _generRepository = new GenerRepository(_modelsContext); }