Exemplo n.º 1
0
        public static void Delete(int ID)
        {
            ProductDataMapper objCaller = new ProductDataMapper();

            objCaller.Delete(ID);
        }
Exemplo n.º 2
0
        public static IList<Product> GetAll()
        {
            ProductDataMapper objCaller = new ProductDataMapper();

            return objCaller.GetAll();
        }
Exemplo n.º 3
0
        public static IList<Product> GetByCategoryID(int ID)
        {
            ProductDataMapper objCaller = new ProductDataMapper();

            return objCaller.GetByCategoryID(ID);
        }
Exemplo n.º 4
0
        public static Product GetByID(int ID)
        {
            ProductDataMapper objCaller = new ProductDataMapper();

            return objCaller.GetByID(ID);
        }
Exemplo n.º 5
0
        public static void Update(Product obj)
        {
            ProductDataMapper objCaller = new ProductDataMapper();

            objCaller.Update(obj);
        }
Exemplo n.º 6
0
        public static int Add(Product obj)
        {
            ProductDataMapper objCaller = new ProductDataMapper();

            return objCaller.Add(obj);
        }