public async Task GetFilmsAsyncTest() { var repo = new FilmsRepo(); var result = await repo.GetFilmsAsync(); Assert.NotEmpty(result); }
public async Task <List <Film> > GetFilms() { var filmRepo = new FilmsRepo(); return((await filmRepo.GetFilmsAsync()).ToList()); }