示例#1
0
        public ActionResult Shop_ItemNamePriorityEntry(Shop_ItemNamePriorityModel shopitmNamePriModel)
        {
            Shop_itemPriorityBL bl = new Shop_itemPriorityBL();

            if (string.IsNullOrEmpty(shopitmNamePriModel.ShopID))
            {
                shopitmNamePriModel = new Shop_ItemNamePriorityModel();
            }

            shopitmNamePriModel = bl.ShopPriorityModel_Select(shopitmNamePriModel);
            return(View(shopitmNamePriModel));
        }
        public IHttpActionResult ShopItemNamePriority_Save([FromBody] Shop_ItemNamePriorityModel model)
        {
            Shop_itemPriorityBL bl = new Shop_itemPriorityBL();

            return(Ok(bl.ShopItemNamePriority_Update(model)));
        }
        public IHttpActionResult ShopPriority_Select([FromBody] Shop_ItemNamePriorityModel shopModel)
        {
            Shop_itemPriorityBL pp = new Shop_itemPriorityBL();

            return(Ok(pp.ShopPriority_Select(shopModel)));
        }