public void FindAllCompetitionTest() { _competitionDao.FindAllCompetitions(); _collection.Received().Find(new BsonDocument()); }
public async Task <List <Competition> > GetAllCompetition() { return(await _competitionDao.FindAllCompetitions()); }