public async Task <HttpStatusCode> UpdatePublishedRefreshedDate(string specificationId, DateTimeOffset publishedRefreshDate) { Guard.ArgumentNotNull(specificationId, nameof(specificationId)); string url = $"{updatePublishedRefreshedDateUrl}{specificationId}"; UpdatePublishedRefreshedDateModel model = new UpdatePublishedRefreshedDateModel { PublishedResultsRefreshedAt = publishedRefreshDate }; return(await _apiClient.PostAsync(url, model)); }
public async Task <HttpStatusCode> UpdateCalculationLastUpdatedDate(string specificationId) { string url = $"specs/update-Calculation-Last-Updated-Date?specificationId={specificationId}"; return(await _apiClient.PostAsync(url)); }