public string GetLocations() { string response = String.Empty; Location location = new Location(); try { location.Items = GovBidsDAL.FetchDataLocation().ToArray(); response = Serialize(location); } catch (Exception ex) { AvailBidResponseException exception = new AvailBidResponseException(); exception.Error = ex.Message; response = Serialize(exception); } return(response); }