public ActionResult AppDangKyNhanHieu()
 {
     try
     {
         AppDetail04NHBL          _AppDetail04NHBL = new AppDetail04NHBL();
         List <AppDetail04NHInfo> _list04nh        = new List <AppDetail04NHInfo>();
         // truyền vào trạng thái nào? để tạm thời = 7 là đã gửi lên cục
         _list04nh = _AppDetail04NHBL.AppTM04NHSearchByStatus(7, AppsCommon.GetCurrentLang());
         ViewBag.ListAppDetail04NHInfo = _list04nh;
         ViewBag.Isdisable             = 0;
     }
     catch (Exception ex)
     {
         Logger.LogException(ex);
     }
     return(PartialView("~/Areas/TradeMark/Views/TradeMarkRegistrationDKQT/_PartalDangKyNhanHieu.cshtml"));
 }
        public ActionResult TM04NHGetInfo(decimal pAppHeaderId, string p_idchudon, string p_iddaidienchudon, string p_idappclass)
        {
            try
            {
                var    objBL              = new AppDetail04NHBL();
                string language           = AppsCommon.GetCurrentLang();
                var    ds04NH             = objBL.AppTM04NHGetByID(pAppHeaderId, language, 7);// tạm thời truyền vào trạng thái = 7
                var    _AppDetail04NHInfo = new AppDetail04NHInfo();
                if (ds04NH != null && ds04NH.Tables.Count == 5)
                {
                    _AppDetail04NHInfo = CBO <AppDetail04NHInfo> .FillObjectFromDataTable(ds04NH.Tables[0]);

                    ViewBag.lstClassDetailInfo = CBO <AppClassDetailInfo> .FillCollectionFromDataTable(ds04NH.Tables[3]);
                }
                ViewBag.objAppHeaderInfo = _AppDetail04NHInfo;
                string _viewChuDon        = "";
                string _viewDaiDienChuDon = "";
                string _viewAppClass      = "";
                _viewChuDon        = RenderPartialToString("~/Areas/TradeMark/Views/Shared/_PartialThongTinChuDon.cshtml", p_idchudon);
                _viewDaiDienChuDon = RenderPartialToString("~/Areas/TradeMark/Views/Shared/_PartialThongTinDaiDienChuDon.cshtml", p_iddaidienchudon);
                _viewAppClass      = RenderPartialToString("~/Areas/TradeMark/Views/Shared/_PartialTMAddAppClass.cshtml", null);
                return(Json(new
                {
                    success = 0,
                    NgayNopDon = _AppDetail04NHInfo.Ngaynopdon_Ut.ToDateStringN0(),
                    LogoURL = _AppDetail04NHInfo.Logourl,
                    ViewChuDon = _viewChuDon,
                    ViewDaiDienChuDon = _viewDaiDienChuDon,
                    ViewAppClass = _viewAppClass
                }));
            }
            catch (Exception ex)
            {
                Logger.LogException(ex);
                return(Json(new { success = -1 }));
            }
        }