public MovieController(IWebHostEnvironment environment) { this._environment = environment; movieCollection = new Factory().GetMovieCollection(Context.Database); ratingCollection = new Factory().GetRatingCollection(Context.Database); watchListCollection = new Factory().GetWatchListCollection(); }
public void Setup() { factory = new Factory(); ratingCollection = factory.GetRatingCollection(Context.Memory); }