Exemplo n.º 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));
        }
Exemplo n.º 2
0
 public void Delete(Shop_Product_Comingsoon item)
 {
     FDIDB.Shop_Product_Comingsoon.Remove(item);
 }
Exemplo n.º 3
0
 public void Add(Shop_Product_Comingsoon item)
 {
     FDIDB.Shop_Product_Comingsoon.Add(item);
 }