Пример #1
0
 public ActionResult Gift()
 {
     bizGift g = new bizGift();
     List<Gift> list = g.List();
     return View(list);
 }
Пример #2
0
        public ActionResult GetGift(int id)
        {
            string result = "";
            bizGift g = new bizGift();
            result = g.AddGift(id,UserID);

            return Content(result);
        }