public ActionResult Edit(string id, string editable)
        {
            ViewBag.title = "Chỉnh sửa số trích dẫn";
            var pagesTree = new List <PageTree>
            {
                new PageTree("Chỉnh sửa số trích dẫn", "/Citation/Edit"),
            };

            ViewBag.pagesTree = pagesTree;
            ViewBag.ckEdit    = editable;

            AuthorInfo author = cr.getAuthor(id);

            ViewBag.author = author;

            List <ENTITIES.Citation> listCitation = cr.getCitation(id);

            ViewBag.citation = listCitation;

            List <DetailComment> listCmt = crr.getComment(Int32.Parse(id));

            ViewBag.cmt = listCmt;

            return(View());
        }
        public ActionResult Edit(string id, string editable)
        {
            ViewBag.title = "Chỉnh sửa khen thưởng bằng sáng chế";
            var pagesTree = new List <PageTree>
            {
                new PageTree("Chỉnh sửa khen thưởng bằng sáng chế", "/Invention/Edit"),
            };

            ViewBag.pagesTree = pagesTree;
            ViewBag.ckEdit    = editable;

            DetailInvention item = ir.getDetail(id);

            ViewBag.item = item;

            int request_id = item.request_id;
            List <DetailComment> listCmt = cr.getComment(request_id);

            ViewBag.cmt = listCmt;

            List <Country> listCountry = ir.getCountry();

            ViewBag.listCountry = listCountry;

            List <AuthorInfo> listAuthor = ir.getAuthor(id);

            ViewBag.listAuthor   = listAuthor;
            ViewBag.numberAuthor = listAuthor.Count();

            return(View());
        }
        public ActionResult Edit(string id, string editable)
        {
            ViewBag.title = "Chỉnh sửa khen thưởng bài báo";
            var pagesTree = new List <PageTree>
            {
                new PageTree("Chỉnh sửa khen thưởng bài báo", "/Paper/Edit"),
            };

            ViewBag.pagesTree = pagesTree;
            ViewBag.ckEdit    = editable;

            DetailPaper item = pr.getDetail(id);

            ViewBag.Paper = item;

            int request_id = item.request_id;

            string lang = "";

            if (Request.Cookies["language_name"] != null)
            {
                lang = Request.Cookies["language_name"].Value;
            }
            List <SpecializationLanguage> listSpec = md.getSpec(lang);

            ViewBag.listSpec = listSpec;

            List <PaperCriteria> listCriteria = md.getPaperCriteria();

            ViewBag.listCriteria = listCriteria;

            List <ListCriteriaOfOnePaper> listCriteriaOne = pr.getCriteria(id);

            ViewBag.listCriteriaOne = listCriteriaOne;

            List <AuthorInfo> listAuthor = pr.getAuthorPaper(id);

            ViewBag.listAuthor   = listAuthor;
            ViewBag.numberAuthor = listAuthor.Count();

            List <DetailComment> listCmt = cr.getComment(request_id);

            ViewBag.cmt = listCmt;

            return(View());
        }