private void DTOObjectsIntitalization() { _agencyId = Guid.NewGuid(); _agencyId = Guid.NewGuid(); _identityId = Guid.NewGuid(); _citationSummaryDetails = new CitationSummaryDetails(); _citationEventDetails = new CitationEventDetails(); _citationNarrativeDetails = new CitationNarrativeDetails(); _citationOfficerDetails = new CitationOfficerDetails(); _citationVehicleDetails = new CitationVehicleDetails(); _citationPersonOtherDetails = new CitationPersonOtherDetails(); _citationAlcoholDrugTestDetails = new CitationAlcoholDrugTestDetails(); _citationChargeDetails = new CitationChargeDetails(); _citationOrganizationDetails = new CitationOrganizationDetails(); _citationPersonSubjectDetails = new CitationPersonSubjectDetails(); _citationFeesPaymentsDetails = new CitationFeesPaymentsDetails(); _citationSummaryDetails.Id = _citationEventDetails.Id = _citationNarrativeDetails.Id = _citationOfficerDetails.Id = _citationVehicleDetails.Id = _citationPersonOtherDetails.Id = _citationAlcoholDrugTestDetails.Id = _citationChargeDetails.Id = _citationOrganizationDetails.Id = _citationPersonSubjectDetails.Id = _citationFeesPaymentsDetails.Id = Guid.NewGuid(); }
public Guid CreateCitationFeesPayments(Guid citationId, CitationFeesPaymentsDetails details) { var citationFeesPayments = CreateSummaryEntity(citationId, details, (agency, id) => new PublicSafetyFeesPayments(IdentityId, agency, id), (summary, feesPayments) => summary.FeesPayments.Add(feesPayments)); return(citationFeesPayments.Id); }
public void UpdateFeesPayments(CitationFeesPaymentsDetails section) { _citationSummaryCommandService.UpdateCitationFeesPayments(section); }
public CitationFeesPaymentsDetails CreateNarrative(Guid id, CitationFeesPaymentsDetails section) { section.Id = _citationSummaryCommandService.CreateCitationFeesPayments(id, section); return(section); }
public CitationFeesPaymentsDetails CreateFeesPayments(Guid id, CitationFeesPaymentsDetails section) { section.Id = _citationReportCommandService.CreateCitationFeesPayments(id, section); return(section); }
public void UpdateCitationFeesPayments(CitationFeesPaymentsDetails details) { Update <PublicSafetyFeesPayments, CitationFeesPaymentsDetails>(details); }