Exemplo n.º 1
0
        public ActionResult EditCommentary(int id)
        {
            CommentaryDataStore Obj = new CommentaryDataStore();
            SA_Commentary       obj = Obj.GetCommentaryByid(id);

            return(View("AddIndustry", obj));
        }
Exemplo n.º 2
0
        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));
        }