Beispiel #1
0
        public Int64 Update(VendorMaster objVendorMaster)
        {
            Int64 result = 0;

            try
            {
                Cls_VendorMaster_db objCls_VendorMaster_db = new Cls_VendorMaster_db();

                result = Convert.ToInt64(objCls_VendorMaster_db.Update(objVendorMaster));
                return(result);
            }
            catch (Exception ex)
            {
                ErrHandler.writeError(ex.Message, ex.StackTrace);
                return(result);
            }
        }
Beispiel #2
0
        public VendorMaster SelectById(Int64 id)
        {
            VendorMaster objVendorMaster = new VendorMaster();

            try
            {
                Cls_VendorMaster_db objCls_VendorMaster_db = new Cls_VendorMaster_db();

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