public ActionResult AwardPrize(int id, decimal prize) { if ((prize <= 0) || (Equals(prize, null))) { return(View("ErrorMSG")); } try { if (employeesDAO.AwardPrize(prize, id)) { return(RedirectToAction("DetailsEmployees/" + id)); } else { return(View("AwardPrize")); } } catch { return(View("AwardPrize")); } }