public override string Execute() { var participants = ParticipantsService.GetAllParticipantsForGame(Message.Chat.Name); var filters = ParseFilters(MessageParser.GetCommandArgumentsFromMessage(Message)); return(OutputFormatter.FormatListResponse(participants, filters)); }
public override string Execute() { return(OutputFormatter.FormatListResponse(EventsRepository.GetAllParticipantsGroupsForEvent(Message.ChatName))); }