public ActionResult EditCommentary(int id) { CommentaryDataStore Obj = new CommentaryDataStore(); SA_Commentary obj = Obj.GetCommentaryByid(id); return(View("AddIndustry", obj)); }
public ActionResult AddCommentaryMarket(int id = 0) { CommentaryDataStore Obj = new CommentaryDataStore(); SA_Commentary obj = new SA_Commentary(); if (id > 0) { obj = Obj.GetCommentaryByid(id); } if (obj == null) { obj = new SA_Commentary(); } return(View(obj)); }