// GET: H5/News public ActionResult Index(int id) { AdNewsLogic adnewsLogic = new AdNewsLogic(); var ent = adnewsLogic.SelectNewsContent(id); return(View(ent)); }
public ResultInfo <string> SpecialActivityUrl(RequestParam reqst) { var ri = new ResultInfo <string>("99999"); AdNewsLogic logic = new AdNewsLogic(); ri.body = logic.GetWebAdModel(11, "εεδΊ").AdLink; ri.code = "1"; ri.message = Settings.Instance.GetErrorMsg(ri.code); return(ri); }
/// <summary> /// Initializes a new instance of the <see cref="AdNewsController"/> class. /// </summary> /// <param name="adnewsLogic">The adnews logic.</param> public AdNewsController(AdNewsLogic adnewsLogic) { this.adnewsLogic = adnewsLogic; }
/// <summary> /// Initializes a new instance of the <see cref="AdNewsController"/> class. /// </summary> /// <param name="adnewsLogic">The adnews logic.</param> public ActivityController(AdNewsLogic adnewsLogic) { this.adnewsLogic = adnewsLogic; }