// GET: Banner
        public ActionResult Index()
        {
            var listBanner = new Banner_BCL().GetListShowInWeb();

            return(PartialView(listBanner));
        }
Ejemplo n.º 2
0
        public JsonResult Banner_Delete(System.Guid id)
        {
            var result = new Banner_BCL().ExecuteOf_DeleteElement(id);

            return(Json(result ? new { rs = true } : new { rs = false }));
        }