public ActionResult Close(int IssueId) { bool closed = _issueService.Close(IssueId); if (closed) { return(new HttpStatusCodeResult(System.Net.HttpStatusCode.OK)); } else { return(new HttpStatusCodeResult(System.Net.HttpStatusCode.NotModified)); } }