public Int64 Update(customerRegistration objcustomerRegistration)
        {
            Int64 result = 0;

            try
            {
                Cls_customerRegistration_db objCls_customerRegistration_db = new Cls_customerRegistration_db();

                result = Convert.ToInt64(objCls_customerRegistration_db.Update(objcustomerRegistration));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
        public customerRegistration  SelectById(Int64 id)
        {
            customerRegistration objcustomerRegistration = new customerRegistration();

            try
            {
                Cls_customerRegistration_db objCls_customerRegistration_db = new Cls_customerRegistration_db();

                objcustomerRegistration = objCls_customerRegistration_db.SelectById(id);
                return(objcustomerRegistration);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(objcustomerRegistration);
            }
        }