public ActionResult Detail(int id)
        {
            var pagesTree = new List <PageTree>
            {
                new PageTree("Đề nghị hỗ trợ hội nghị", "/ConferenceSponsor"),
                new PageTree("Chi tiết", "/ConferenceSponsor/Detail"),
            };
            string output = DetailRepos.GetDetailPageGuest(id, 6, LanguageResource.GetCurrentLanguageID());

            ViewBag.pagesTree = pagesTree;
            ViewBag.output    = output;
            return(View());
        }
        public JsonResult List()
        {
            BaseDatatable datatable = new BaseDatatable(Request);
            BaseServerSideData <ConferenceIndex> output = IndexRepos.GetIndexPageGuest(datatable, 6, LanguageResource.GetCurrentLanguageID());

            for (int i = 0; i < output.Data.Count; i++)
            {
                output.Data[i].RowNumber   = datatable.Start + 1 + i;
                output.Data[i].CreatedDate = output.Data[i].Date.ToString("dd/MM/yyyy");
            }
            return(Json(new { success = true, data = output.Data, draw = Request["draw"], recordsTotal = output.RecordsTotal, recordsFiltered = output.RecordsTotal }, JsonRequestBehavior.AllowGet));
        }