public static void Delete(int ID) { ProductDataMapper objCaller = new ProductDataMapper(); objCaller.Delete(ID); }
public static IList<Product> GetAll() { ProductDataMapper objCaller = new ProductDataMapper(); return objCaller.GetAll(); }
public static IList<Product> GetByCategoryID(int ID) { ProductDataMapper objCaller = new ProductDataMapper(); return objCaller.GetByCategoryID(ID); }
public static Product GetByID(int ID) { ProductDataMapper objCaller = new ProductDataMapper(); return objCaller.GetByID(ID); }
public static void Update(Product obj) { ProductDataMapper objCaller = new ProductDataMapper(); objCaller.Update(obj); }
public static int Add(Product obj) { ProductDataMapper objCaller = new ProductDataMapper(); return objCaller.Add(obj); }