Esempio n. 1
0
        public List <Genre> Get()
        {
            var genreAccess = new GenreAccess();
            var genresDB    = genreAccess.Get();
            var genre       = new List <Genre>();

            genresDB.ForEach(g => genre.Add(DBToLogic(g)));

            return(genre);
        }
 public static void Initialize(TestContext context)
 {
     testHelpers = new TestHelpers();
     genreAccess = new GenreAccess();
     db          = new BandItEntities();
 }