/// <summary> /// LoadForEdit /// </summary> /// <param name="workId">workId</param> /// <param name="assetId">assetId</param> /// <param name="companyId">companyId</param> /// <param name="projectId">projectId</param> public void LoadForEdit(int workId, int assetId, int companyId, int projectId) { RehabAssessmentLateralDetailsGateway rehabAssessmentLateralDetailsGateway = new RehabAssessmentLateralDetailsGateway(Data); rehabAssessmentLateralDetailsGateway.ClearBeforeFill = false; rehabAssessmentLateralDetailsGateway.LoadInWorkInJlForEdit(workId, assetId, companyId); rehabAssessmentLateralDetailsGateway.LoadInWorkForEdit(workId, assetId, companyId); rehabAssessmentLateralDetailsGateway.LoadNotInWorkForEdit(workId, assetId, companyId, projectId); rehabAssessmentLateralDetailsGateway.ClearBeforeFill = true; UpdateFieldsForSections(assetId, projectId, companyId); }