public Task <NewsMaterialCreationResult> CreateNewsMaterialAsync(NewsMaterialDescription newsMaterial) { return(_apiClient.ExecuteAndGetResultAsync <NewsMaterialCreationResult>(b => b.UseResource("/cgi-bin/material/add_news") .UseHttps() .Json(newsMaterial))); }
public Task<NewsMaterialCreationResult> CreateNewsMaterialAsync(NewsMaterialDescription newsMaterial) { return _apiClient.ExecuteAndGetResultAsync<NewsMaterialCreationResult>(b => b.UseResource("/cgi-bin/material/add_news") .UseHttps() .Json(newsMaterial)); }