public ActionResult UpdateEmployee(int id)
        {
            EditableEmployee employee = SessionEmployeeRepository.One(e => e.EmployeeID == id);

            if (TryUpdateModel(employee))
            {
                // HTML decode the Notes property
                employee.Notes = HttpUtility.HtmlDecode(employee.Notes);
                SessionEmployeeRepository.Update(employee);

                return(RedirectToAction("EditorInGrid", this.GridRouteValues()));
            }

            return(View("EditorInGrid", SessionEmployeeRepository.All()));
        }
 public ActionResult EditorInGrid()
 {
     return(View(SessionEmployeeRepository.All()));
 }