public ActionResult Gift() { bizGift g = new bizGift(); List<Gift> list = g.List(); return View(list); }
public ActionResult GetGift(int id) { string result = ""; bizGift g = new bizGift(); result = g.AddGift(id,UserID); return Content(result); }