Ejemplo n.º 1
0
        private static void InsertIntoDb()
        {
            _caseId = Case.InsertCase(_caseDataModel.PoliceFileNumber,
                                      _caseDataModel.EclCaseNumber,
                                      _caseDataModel.Description,
                                      _caseDataModel.OfficerInChargeId,
                                      _caseDataModel.DistrictId,
                                      _caseDataModel.SiteId,
                                      _caseDataModel.OffenceTypeId,
                                      _caseDataModel.CreatedById);

            _exhibitId = Exhibit.CreateExhibit(_caseId,
                                               _caseDataModel.CreatedById,
                                               _exhibitDataModel.EclExhibitNumber,
                                               _exhibitDataModel.Description,
                                               _exhibitDataModel.PoliceExhibitNumber);
        }