Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public DataTable GetAllClaims(Policy_ML ml)
 {
     try
     {
         var DataDic = new Dictionary<string, object>
         {
             
         };
         return new DBAccessController().RetriveRecordsWithPara(StoredProcedures.sp_GetAllPolicy, DataDic);
     }
     catch (Exception)
     {
         
         throw;
     }
 }
Exemplo n.º 3
0
 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;
     }
 }