public ActionResult Down(int id) { string resultText; var version = _migrationInformation.CurrentVersion().Version; if ((version + 1) == id) { resultText = "Already on this version."; } else if (version < id) { resultText = "On an older version."; } else { _migrator.MigrateDown(id); resultText = "Downgraded!"; } return(new ContentResult { Content = resultText }); }