public JsonResult Deletefile(int id) { ContentManagement objcontent = new ContentManagement(SessionCustom, HttpContext); return(this.Json(new { result = objcontent.DeleteFileAttach(id) })); }