public Level Save(Level level) { LevelRepository repo = new LevelRepository(); if (repo.Iduplicate(level)) { return(new Level()); } else { return(repo.Save(level)); } }
public Level Save(Level level) { LevelRepository repo = new LevelRepository(); if (repo.Iduplicate(level)) { return(new Level()); } else { return(repo.Save(level)); } }