public List <Bet> GetAll() { return(BetRepository.GetAll()); }
public async Task <IEnumerable <Bet> > GetBets(Func <Bet, bool> predicate) { return((await _repository.GetAll(predicate)).OrderByDescending(b => b.Created)); }