protected override void ExecuteCreate()
        {
            var newAttendee = new Attendee {
                Name = Name
            };

            if (newAttendee.IsValid())
            {
                NewThing = newAttendee;
            }

            FireThingGood(newAttendee.IsValid());
        }
Esempio n. 2
0
        public Attendee Update(Attendee atendee)
        {
            if (!atendee.IsValid())
            {
                return(atendee);
            }

            return(_atendeeRepository.Update(atendee));
        }
Esempio n. 3
0
        public Attendee Add(Attendee atendee)
        {
            if (!atendee.IsValid())
            {
                return(atendee);
            }

            return(_atendeeRepository.Add(atendee));
        }