public IActionResult LoadAlphabet() { var result = new AutoPopulateResult { CacheSecondsOverride = 30, Data = new string[] { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" } }; return(Ok(result)); }
public IActionResult LoadComplexData() { var result = new AutoPopulateResult { CacheSecondsOverride = 30, Data = new { Name = "Alphabet", Description = "This lists the alphabet", Alphabet = new string[] { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" } } }; return(Ok(result)); }