public double populate_balance_bl(customer_registration_entity c)
 {
     try
     {
         customer_registration_dal cust_dal = new customer_registration_dal();
         cust_dal.CreateCon();
         return(cust_dal.populate_balance_dl(c));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public DataSet populate_vendor_bl(customer_registration_entity c)
 {
     try
     {
         customer_registration_dal cust_dal = new customer_registration_dal();
         cust_dal.CreateCon();
         return(cust_dal.populate_vendor(c));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public string validate_doc(customer_registration_entity c)
 {
     try
     {
         customer_registration_dal cust_dal = new customer_registration_dal();
         cust_dal.CreateCon();
         return(cust_dal.validate_doc_dl(c));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
 public int insert(customer_registration_entity c)
 {
     try
     {
         customer_registration_dal cust_dal = new customer_registration_dal();
         cust_dal.CreateCon();
         return(cust_dal.insertdata(c));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }