public ActionResult WriteRecordOnMyWall(string text, int userID) { if (recordsDAO.WriteRecord(text, userID, userID)) { return(RedirectToAction("ShowRecords", new { userID })); } else { return(View()); } }