Example #1
0
        private async Task <Response> GetActiveQuestionsForTopic(string topic)
        {
            var questions = await topicsManager.GetActiveQuestionsForTopic(topic);

            return(questions == null ? HttpStatusCode.NotFound : Response.AsJson(questions));
        }