public Guid CreateArrestProperty(Guid arrestId, ArrestPropertyDetails details) { var arrestProp = CreateReportEntity(arrestId, details, (agency, id) => new PublicSafetyProperty(IdentityId, agency, id), (report, prop) => report.Property.Add(prop)); return(arrestProp.Id); }
public Guid CreateArrestProperty(Guid arrestId, ArrestPropertyDetails details) { var arrestProperty = CreateSummaryEntity(arrestId, details, (agency, id) => new PublicSafetyProperty(IdentityId, agency, id), (summary, property) => summary.Property.Add(property)); return(arrestProperty.Id); }
public void UpdateArrestProperty(ArrestPropertyDetails details) { Update <PublicSafetyProperty, ArrestPropertyDetails>(details); }
public ArrestPropertyDetails CreateProperty(Guid id, ArrestPropertyDetails section) { section.Id = _arrestSummaryCommandService.CreateArrestProperty(id, section); return(section); }
public void UpdateProperty(ArrestPropertyDetails section) { _arrestSummaryCommandService.UpdateArrestProperty(section); }