Пример #1
0
        public JsonResult GetCategoryGmktResult(ReqData data)
        {
            CommonBiz biz = new CommonBiz();
            List<CategoryGmktInfoT> categories = biz.GetGmktCategory(data.Step, data.ParentCode);

            ReqResult result = new ReqResult();
            result.ReturnForm = data.ReturnForm;
            result.CategoryGmkt = new List<CategoryGmktInfoT>();
            result.CategoryGmkt = categories;

            return Json(result);
        }
Пример #2
0
        // G마켓 카테고리를 사용하시려면 ~/Scripts/CategoryGmkt.js 를 Parent View에 include하세요.
        public PartialViewResult CategoryGmkt(string suffix)
        {
            CommonBiz biz = new CommonBiz();
            List<CategoryGmktInfoT> lcategories = biz.GetGmktCategory("LC", "");

            ViewBag.LCID = "GDLC_CD" + suffix;
            ViewBag.MCID = "GDMC_CD" + suffix;
            ViewBag.SCID = "GDSC_CD" + suffix;
            ViewBag.ListLCategory = lcategories;

            return PartialView();
        }