public MovieTestBase(MovieFixture fixture) { scope = fixture.RootServiceProvider.CreateScope(); FilmingLocationService = scope.ServiceProvider.GetRequiredService <IFilmingLocationService>(); MovieService = scope.ServiceProvider.GetRequiredService <IMovieService>(); GeocodingService = scope.ServiceProvider.GetRequiredService <IGeocodingService>(); }
public FilmingLocationController(IFilmingLocationService filmingLocationService) { this.filmingLocationService = filmingLocationService; }