Example #1
0
 public Repository()
 {
     AutoMapper.Configure();
     Database = new MovieDataSource();
 }
Example #2
0
 public void GetAllData()
 {
     var movieDataSource = new MovieDataSource();
     var allMovies = movieDataSource.GetAllData();
     Assert.IsTrue(allMovies.Any());
 }
 public MovieService()
 {
     _dataSource = new MovieDataSource();
 }