예제 #1
0
 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();
 }
예제 #2
0
        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);
        }
예제 #5
0
        public CitationFeesPaymentsDetails CreateFeesPayments(Guid id, CitationFeesPaymentsDetails section)
        {
            section.Id = _citationReportCommandService.CreateCitationFeesPayments(id, section);

            return(section);
        }
예제 #6
0
 public void UpdateCitationFeesPayments(CitationFeesPaymentsDetails details)
 {
     Update <PublicSafetyFeesPayments, CitationFeesPaymentsDetails>(details);
 }