コード例 #1
0
        public Guid CreateCallForServicePerson(Guid callForServiceId, CallForServicePersonDetails details)
        {
            var callForServicePerson = CreateSummaryEntity(callForServiceId, details,
                                                           (agency, id) => new PublicSafetyPerson(IdentityId, agency, id),
                                                           (summary, person) => summary.People.Add(person));

            return(callForServicePerson.Id);
        }
コード例 #2
0
 public void UpdateCallForServicePerson(CallForServicePersonDetails details)
 {
     Update <PublicSafetyPerson, CallForServicePersonDetails>(details);
 }
コード例 #3
0
 public CallForServicePersonDetails CreatePerson(Guid id, CallForServicePersonDetails section)
 {
     section.Id = _summaryCommandService.CreateCallForServicePerson(id, section);
     return(section);
 }
コード例 #4
0
 public void UpdatePerson(CallForServicePersonDetails section)
 {
     _summaryCommandService.UpdateCallForServicePerson(section);
 }