public bool Execute(SetupDatabaseViewModel request) { if (installService.ShoulDatabaseBeSet()) { string connectionString; if (request.CreateDatabase) { connectionString = installService.CreateDatabase(request); } else { connectionString = installService.TestConnectionString(request); } installService.SaveConnectionString(connectionString); return(true); } return(false); }