Esempio n. 1
0
        public ActionResult EnablePost(int id)
        {
            var banService = new BanService();

            var result = banService.EnablePost(new EnablePostRequest {
                PostId = id
            });

            return(RedirectToAction("Index"));
        }