示例#1
0
        public ActionResult AjaxForm()
        {
            var model = new Shop_Product_Comingsoon();

            if (DoAction == ActionType.Edit)
            {
                model = _da.GetById(ArrId.FirstOrDefault());
            }
            ViewBag.Action = DoAction;
            return(View(model));
        }
示例#2
0
 public void Delete(Shop_Product_Comingsoon item)
 {
     FDIDB.Shop_Product_Comingsoon.Remove(item);
 }
示例#3
0
 public void Add(Shop_Product_Comingsoon item)
 {
     FDIDB.Shop_Product_Comingsoon.Add(item);
 }