public Guid CreateArrestCharge(Guid arrestId, ArrestChargeDetails details)
        {
            var arrestCharge = CreateReportEntity(arrestId, details,
                                                  (agency, id) => new ArrestCharge(IdentityId, agency, id),
                                                  (report, charge) => report.ArrestCharges.Add(charge));

            return(arrestCharge.Id);
        }
Exemple #2
0
        public Guid CreateArrestCharge(Guid arrestId, ArrestChargeDetails details)
        {
            var arrestCharge = CreateSummaryEntity(arrestId, details,
                                                   (agency, id) => new ArrestCharge(IdentityId, agency, id),
                                                   (summary, charge) => summary.ArrestCharges.Add(charge));

            return(arrestCharge.Id);
        }
 public void UpdateArrestCharge(ArrestChargeDetails details)
 {
     Update <ArrestCharge, ArrestChargeDetails>(details);
 }
        public ArrestChargeDetails CreateCharge(Guid id, ArrestChargeDetails section)
        {
            section.Id = _arrestSummaryCommandService.CreateArrestCharge(id, section);

            return(section);
        }
 public void UpdateCharges(ArrestChargeDetails section)
 {
     _arrestSummaryCommandService.UpdateArrestCharge(section);
 }