private void GetAllPolicyDetails() { var ml = new Policy_ML() { //EmpName = string.IsNullOrEmpty(txtNameSearch.Text) ? "" : txtNameSearch.Text, //EmpBranch = string.IsNullOrEmpty(txtBranchSearch.Text) ? "" : txtBranchSearch.Text }; gridPolicy.DataSource = new Policy_BL().GetAllClaims(ml); gridPolicy.DataBind(); }
public DataTable GetAllClaims(Policy_ML ml) { try { var DataDic = new Dictionary<string, object> { }; return new DBAccessController().RetriveRecordsWithPara(StoredProcedures.sp_GetAllPolicy, DataDic); } catch (Exception) { throw; } }
public DataTable GetClaimHistory(Policy_ML ml) { try { var DataDic = new Dictionary<string, object> { {"@policy_id",ml.policyID} }; return new DBAccessController().RetriveRecordsWithPara(StoredProcedures.sp_GetClaimHistory, DataDic); } catch (Exception) { throw; } }