Ejemplo n.º 1
0
        public ActionResult AdsDisplayPositionAdd(AdsPositionSetViewModel model)
        {
            string msg = string.Empty;

            if (model.SiteId != 0)
            {
                AdvertisementDAO.SetAdsDisplayPositionItem(model, out msg);
            }
            ViewBag.Exit      = true;
            ViewBag.ResultMsg = msg;
            return(View("AdsDisplayPositionAdd_" + model.DataType, model));
        }