Пример #1
0
        public ActionResult Delete(string id)
        {
            var myJson = _service.Delete(id);

            return(Json(myJson));
        }
Пример #2
0
        //[AbpMvcAuthorize("Administration.News")]
        public async Task <ActionResult> Delete(int id)
        {
            await _newsAppService.Delete(id);

            return(Json(new { result = true }, JsonRequestBehavior.AllowGet));
        }