public ActionResult AjaxForm() { var model = new Shop_Product_Comingsoon(); if (DoAction == ActionType.Edit) { model = _da.GetById(ArrId.FirstOrDefault()); } ViewBag.Action = DoAction; return(View(model)); }
public void Delete(Shop_Product_Comingsoon item) { FDIDB.Shop_Product_Comingsoon.Remove(item); }
public void Add(Shop_Product_Comingsoon item) { FDIDB.Shop_Product_Comingsoon.Add(item); }