public ActionResult LightBox(long siteId, long menuId, long sourceNo) { string Code = "LightBox"; ViewModels.LightBoxViewModel items = new ViewModels.LightBoxViewModel(); items.Imgs = ResourceImagesDAO.GetItems(sourceNo, Code); items.lightBox = ResourceLightBoxDAO.GetItem(sourceNo, Code); ViewBag.UploadUrl = WorkV3.Golbal.UpdFileInfo.GetVPathByMenuID(siteId, menuId).TrimEnd('/') + "/"; return(View(items)); }
public IEnumerable <ResourceImagesModels> GetImages() { return(ResourceImagesDAO.GetItems(ID, "Match")); }