public int addFile(string name, string contents, bool hidden) { ProjectRepository repo = new ProjectRepository(); return(repo.AddFile(_project, name, contents, hidden)); }