public List <Repository> GetRepositories() { OutgoingWebResponseContext context = WebOperationContext.Current.OutgoingResponse; context.ContentType = "application/xml"; return(_referenceDataProvider.GetRepositories()); }