public ActionResult AddUser(int id, Position model) { if (ModelState.IsValid) { DepartmentManager.AddUser(id, model.Username, model.Title, model.IsInCharge); return(RedirectToAction("Page", new { id })); } return(View(model)); }