private static void ValidateQuery(GetBetsInProgressQuery query)
 {
     if (query is null)
     {
         throw new ArgumentNullException(nameof(query));
     }
 }
        public async Task <IReadOnlyCollection <BetOutput> > Handle(GetBetsInProgressQuery query)
        {
            ValidateQuery(query);

            return(await _betRepository.GetBetsForMember(query.MemberId));
        }