Example #1
0
        public int Update(Item item)
        {
            ItemManager itemManager = new ItemManager();

            return(itemManager.Update(item));
        }
Example #2
0
        public int Delete(Item item)
        {
            ItemManager itemManager = new ItemManager();

            return(itemManager.DeleteByItemId(item.ItemId));
        }
Example #3
0
        public int Add(Item item)
        {
            ItemManager itemManager = new ItemManager();

            return(itemManager.AddNew(item));
        }