public override string Execute() { var participantsGroup = MessageParser.GetParticipantsGroupFromMessage(Message); participantsGroup.IsSure = false; EventsRepository.AddParticipantsGroupToEvent(Message.ChatName, participantsGroup); return(base.Execute()); }
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()); }