public ActionResult RemoveShip(Guid id) { return(HttpHandleExtensions.AjaxCallGetResult(() => { _shipService.Remove(id); this.JsMessage = MessagesResources.Remove_Success; return Json(new AjaxResponse { Succeeded = true, RedirectUrl = Url.Action("Index") }, JsonRequestBehavior.AllowGet); })); }