Example #1
0
      public ActionResult RemoveMarkFromStatement(int removemarkid, int statementid)
      {
          int id = statementid;

          try
          {
              recordsDAO.RemoveMarkFromStatement(removemarkid);
              return(RedirectToAction("StatementDetails", new { id = statementid }));
          }
          catch
          {
              return(RedirectToAction("StatementDetails", recordsDAO.getMarksForStatement(statementid)));
          }
      }