public Guid CreateOtherEventPerson(Guid otherEventId, OtherEventPersonDetails details)
        {
            var person = CreateSummaryEntity(otherEventId, details,
                                             (agency, id) => new PublicSafetyPerson(IdentityId, agency, id),
                                             (summary, other) => summary.People.Add(other));

            return(person.Id);
        }
        public Guid CreateOtherEventPerson(Guid otherEventId, OtherEventPersonDetails details)
        {
            var eventPerson = CreateReportEntity(otherEventId, details,
                                                 (agency, id) => new PublicSafetyPerson(IdentityId, agency, id),
                                                 (report, person) => report.People.Add(person));

            return(eventPerson.Id);
        }
 public void UpdateOtherEventPerson(OtherEventPersonDetails details)
 {
     Update <PublicSafetyPerson, OtherEventPersonDetails>(details);
 }
        public OtherEventPersonDetails CreatePersonOther(Guid id, OtherEventPersonDetails section)
        {
            section.Id = _otherEventSummaryCommandService.CreateOtherEventPerson(id, section);

            return(section);
        }
 public void UpdatePersonOther(OtherEventPersonDetails section)
 {
     _otherEventSummaryCommandService.UpdateOtherEventPerson(section);
 }