public string GetAgencies() { string response = String.Empty; Agency agency = new Agency(); try { agency.Items = GovBidsDAL.FetchDataAgencies().ToArray(); response = Serialize(agency); } catch (Exception ex) { AvailBidResponseException exception = new AvailBidResponseException(); exception.Error = ex.Message; response = Serialize(exception); } return(response); }