public static bool SaveSectionCaseType(List <ATTSectionCaseType> lstSCT) { try { return(DLLSectionCaseType.SaveSectionCaseType(lstSCT)); } catch (Exception ex) { throw ex; } }
public static List <ATTSectionCaseType> GetSecCaseType(int orgID, int caseTypeID) { List <ATTSectionCaseType> SectionCaseTypeLST = new List <ATTSectionCaseType>(); try { foreach (DataRow row in DLLSectionCaseType.GetSecCaseType(orgID, caseTypeID).Rows) { ATTSectionCaseType objSectionCaseType = new ATTSectionCaseType(); objSectionCaseType.OrgID = int.Parse(row["ORG_ID"].ToString()); objSectionCaseType.UnitID = int.Parse(row["UNIT_ID"].ToString()); objSectionCaseType.UnitName = row["UNIT_NAME"].ToString(); objSectionCaseType.CaseTypeID = int.Parse(row["CASE_TYPE_ID"].ToString()); objSectionCaseType.FromDate = row["FROM_DATE"].ToString(); SectionCaseTypeLST.Add(objSectionCaseType); } return(SectionCaseTypeLST); } catch (Exception ex) { throw ex; } }