Esempio n. 1
0
        public ActionResult SpamAdRequest(long id)
        {
            var result = _spamAdServices.CanSpamRequestAd(id);

            ViewBag.SpamAdTypes = _referenceServices.GetAllReferences <SpamAdType>().Select(x => new SelectListItem {
                Text = x.Label, Value = x.Id.ToString()
            }).ToList();
            return(View("SpamAdRequest", result));
        }