public async Task <IActionResult> GenerateScript()
 {
     try
     {
         var sql = MigrationUtils.GenerateCreateScript(this.dataSource.DbContext.Database);
         return(Ok(await Task.FromResult(sql)));
     }
     catch (Exception ex)
     {
         return(this.FailStatus(StatusCodes.Status500InternalServerError, "An error has occurred while generating a migration script.", ex));
     }
 }