/// <summary> /// Gets a single address that meets the supplied criteria. /// </summary> /// <param name="request">The data service request.</param> /// <returns>The data service response.</returns> private static SingleEntityDataServiceResponse <Address> GetAddress(GetAddressDataRequest request) { CustomerDataManager dataManager = GetDataManagerInstance(request.RequestContext); Address address = dataManager.GetAddress(request.RecordId, request.CustomerRecordId, request.ColumnSet); return(new SingleEntityDataServiceResponse <Address>(address)); }