public ActionResult AddProject() { var projectViewModel = new AddOrEditProjectViewModel(0); return PartialView("_AddOrEditProjectForm", projectViewModel); }
public ActionResult SaveProject(AddOrEditProjectViewModel model) { model.Save(WebSecurity.CurrentUserId); return null; }