public async Task <AggregatedDeltaResponse> GetDeltaAsync(DateTime?since = null) { var response = new AggregatedDeltaResponse() { Since = since, CurrentDateTimeUtc = DateTime.UtcNow, Events = await _eventService.GetDeltaResponseAsync(minLastDateTimeChangedUtc : since), EventConferenceDays = await _eventConferenceDayService.GetDeltaResponseAsync(minLastDateTimeChangedUtc : since), EventConferenceRooms = await _eventConferenceRoomService.GetDeltaResponseAsync(minLastDateTimeChangedUtc : since), EventConferenceTracks = await _eventConferenceTrackService.GetDeltaResponseAsync(minLastDateTimeChangedUtc : since), KnowledgeGroups = await _knowledgeGroupService.GetDeltaResponseAsync(minLastDateTimeChangedUtc : since), KnowledgeEntries = await _knowledgeEntryService.GetDeltaResponseAsync(minLastDateTimeChangedUtc : since) }; return(response); }
public async Task <AggregatedDeltaResponse> GetDeltaAsync([FromQuery] DateTime?since = null) { _logger.LogInformation("Execute=Sync, Since={since}", since); var response = new AggregatedDeltaResponse { Since = since, CurrentDateTimeUtc = DateTime.UtcNow, Events = await _eventService.GetDeltaResponseAsync(since), EventConferenceDays = await _eventConferenceDayService.GetDeltaResponseAsync(since), EventConferenceRooms = await _eventConferenceRoomService.GetDeltaResponseAsync(since), EventConferenceTracks = await _eventConferenceTrackService.GetDeltaResponseAsync(since), KnowledgeGroups = await _knowledgeGroupService.GetDeltaResponseAsync(since), KnowledgeEntries = await _knowledgeEntryService.GetDeltaResponseAsync(since), Images = await _imageService.GetDeltaResponseAsync(since), Dealers = await _dealerService.GetDeltaResponseAsync(since), Announcements = await _announcementService.GetDeltaResponseAsync(since), Maps = await _mapService.GetDeltaResponseAsync(since) }; return(response); }
public Task <DeltaResponse <EventConferenceTrackRecord> > GetEventsDeltaAsync([FromQuery] DateTime?since = null) { return(_eventConferenceTrackService.GetDeltaResponseAsync(minLastDateTimeChangedUtc: since)); }