private void FLLateralsSave(string lateralId, bool requiresRoboticPrep, DateTime? equiresRoboticPrepIssueCompleted, bool holdClientIssue, bool holdLFSIssue, bool dyeTestReq, DateTime? dyeTestComplete) { int workIdJl = Int32.Parse(hdfWorkIdJl.Value); int companyId = Int32.Parse(hdfCompanyId.Value); flatSectionJlTDSForFLL = new FlatSectionJlTDS(); FlatSectionJlGateway flatSectionJlGateway = new FlatSectionJlGateway(flatSectionJlTDSForFLL); flatSectionJlGateway.LoadAllByWorkId(workIdJl, companyId); string latId = lateralId.Substring(3, lateralId.Length - 3); if (flatSectionJlGateway.Table.Rows.Count > 0) { FlatSectionJl flatSectionJl = new FlatSectionJl(flatSectionJlTDSForFLL); flatSectionJl.UpdateAllLateralsFromFLL(latId, requiresRoboticPrep, equiresRoboticPrepIssueCompleted, holdClientIssue, holdLFSIssue, dyeTestReq, dyeTestComplete); } Session["flatSectionJlTDSForFLL"] = flatSectionJlTDSForFLL; flatSectionJlTDSForFLL.AcceptChanges(); }