/// <summary> /// Feedback Close. /// </summary> /// <param name="id"> Feedback Id. </param> /// <returns> The <see cref="ActionResult"/>. </returns> public ActionResult Close(int id) { try { _feedbackService.Close(id); } catch (InvalidOperationException ex) { return(View( "ErrorPage", CreateErrorReply(ex))); } catch (MissingEntityException ex) { return(View( "ErrorPage", CreateErrorReply(ex))); } return(RedirectToAction("Index")); }