public ActionResult Edit(int id, VcsSource source) { try { CurrentUserModel.UpdateSource(source, true); return(RedirectToAction("Index", new { projectId = source.ProjectId })); } catch { return(View()); } }