Exemplo n.º 1
0
 /// <summary>
 /// The SetContentSection.
 /// </summary>
 /// <param name="path">The path<see cref="string"/>.</param>
 /// <param name="content">The content<see cref="ContentSection"/>.</param>
 /// <returns>The <see cref="Task{ContentSection}"/>.</returns>
 public async Task <ContentSection> SetContentSection(string path, ContentSection content)
 {
     return(await _provider.Set(path, content));
 }
Exemplo n.º 2
0
        public async Task Set_Returns_Model()
        {
            var result = await _provider.Set("base/test", _content);

            Assert.That(result.Projects.Count(), Is.GreaterThan(0));
        }