public ActionResult Create(string name, string outputdir, string outputfilename, string[] mylanguages) { var project = new project { name = name, outputdir = outputdir, outputfilename = outputfilename }; ProjectRepository.SaveProject(project); LanguageRepository.CreateProjectLanguages(project.id, mylanguages); return(Content("saved")); }