public GameShootoutStatisticDTO ToDto(GameShootoutStatistic domain)
 {
     return(new GameShootoutStatisticDTO
     {
         Id = domain.Id,
         GameId = domain.GameId,
         CreatedOnUtc = domain.CreatedOn,
         GoalieStatistics = domain.GoalieShootoutStatistics.Select(GoalieShootoutStatisticToDto).ToList(),
         SkaterStatistics = domain.SkaterShootoutStatistics.Select(SkaterShootoutStatisticToDto).ToList()
     });
 }
        public async Task <GameShootoutStatisticDTO> Update(GameShootoutStatisticDTO dto)
        {
            var result = await this.Handler.Execute(_log, async() =>
            {
                GameShootoutStatistic gameShootoutStatistic = _gameShootoutStatisticFactory.CreateDomainObject(dto);
                gameShootoutStatistic.Validate();

                gameShootoutStatistic = await _gameShootoutStatisticRepository.Update(gameShootoutStatistic);
                return(_gameShootoutStatisticMapper.ToDto(gameShootoutStatistic));
            });

            return(result);
        }