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); }
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); }