Пример #1
0
        public ProductVendor GetProductVendors(int productid)
        {
            ProductVendorData data = new ProductVendorData();
            ProductVendor     pv   = new ProductVendor();

            try
            {
                pv = data.GetProductVendor(productid);
            }
            catch (Exception ex)
            {
                log.Write(ex.Message, "GetProductVendors");
                throw (ex);
            }
            finally
            {
                data = null;
            }
            return(pv);
        }