Ejemplo n.º 1
0
        public override string Execute()
        {
            var participantsGroup = MessageParser.GetParticipantsGroupFromMessage(Message);

            participantsGroup.IsSure = false;
            EventsRepository.AddParticipantsGroupToEvent(Message.ChatName, participantsGroup);
            return(base.Execute());
        }
Ejemplo n.º 2
0
        public override string Execute()
        {
            var participantsGroup = MessageParser.GetParticipantsGroupFromMessage(Message);

            participantsGroup.IsSure = false;

            if (!ExecutionWillUpdateCurrentCount(participantsGroup))
            {
                return(string.Empty);
            }

            EventsRepository.AddParticipantsGroupToEvent(Message.ChatName, participantsGroup);
            return(base.Execute());
        }