Ejemplo n.º 1
0
        public Guid CreateCallForServiceResponse(Guid callForServiceId, CallForServiceResponseDetails details)
        {
            var callForServiceResponses = CreateSummaryEntity(callForServiceId, details,
                                                              (agency, id) => new CallForServiceResponse(IdentityId, agency, id),
                                                              (summary, response) => summary.CallForServiceResponses.Add(response));

            return(callForServiceResponses.Id);
        }
Ejemplo n.º 2
0
 public void UpdateCallForServiceResponse(CallForServiceResponseDetails details)
 {
     Update <CallForServiceResponse, CallForServiceResponseDetails>(details);
 }
 public CallForServiceResponseDetails CreateResponse(Guid id, CallForServiceResponseDetails section)
 {
     section.Id = _summaryCommandService.CreateCallForServiceResponse(id, section);
     return(section);
 }
 public void UpdateResponse(CallForServiceResponseDetails section)
 {
     _summaryCommandService.UpdateCallForServiceResponse(section);
 }