public IEnumerable <string> Get() { try { var databaseConnectionString = CloudConfigurationManager.GetSetting("SQLAzureDatabaseEntityFrameworkConnectionString"); using (var _objectModel = new SmartEnergyOM(databaseConnectionString)) { var result = _objectModel.FindAllEmissionsRegions(); return(result); } } catch (Exception e) { throw new Exception("Sorry - an exception occured executing the request"); } }