public ActionResult _UploadImagePartialE(long id)
        {
            PartialUploadViewModels model = new PartialUploadViewModels();
            MediaContent            _obj  = cms_db.GetObjDefaultMediaByContentIdvsType(id, (int)EnumCore.ObjTypeId.danh_muc);

            if (_obj != null)
            {
                model.FullUrl  = _obj.FullURL;
                model.ThumbUrl = _obj.ThumbURL;
                model.MediaId  = _obj.MediaContentId;
            }
            return(PartialView("_UploadImagePartial", model));
        }
Exemple #2
0
        public ActionResult _UploadImagePartialE(long id)
        {
            PartialUploadViewModels model = new PartialUploadViewModels();
            MediaContent            _obj  = cms_db.GetObjMediaContent(id);

            if (_obj != null)
            {
                model.FullUrl  = _obj.FullURL;
                model.ThumbUrl = _obj.ThumbURL;
                model.MediaId  = _obj.MediaContentId;
            }
            return(PartialView("_UploadImagePartial", model));
        }
        public ActionResult _UploadImagePartial()
        {
            PartialUploadViewModels model = new PartialUploadViewModels();

            return(PartialView("_UploadImagePartial", model));
        }