public IActionResult MigrateUp() { try { _migrator.Up(); return(Ok(new { result = "Ok!" })); } catch (Exception e) { return(BadRequest(e)); } }
public IHttpActionResult MigrationUp() { try { _migrator.Up(); return(Ok(new { Result = "Ok!" })); } catch (Exception e) { _logger.Error(e); throw; } }