public IsWinningTicketProcessorResult Process(TicketModel model)
        {
            var entity = Mapper.Map<Ticket>(model);

            var result = _command.Execute(entity);

            return new IsWinningTicketProcessorResult(result);
        }
 public IsWinningTicketProcessorResult GetIsWinningTicket(TicketModel ticket)
 {
     var processor = new IsWinningTicketProcessor();
     return processor.Process(ticket);
 }