public IActionResult MigrateDown(string migrationName) { try { _migrator.Down(migrationName); return(Ok(new { result = "Ok!" })); } catch (Exception e) { return(BadRequest(e)); } }