private async Task <Response> GetInactiveQuestionsForTopic(string topic) { var questions = await topicsManager.GetInactiveQuestionsForTopic(topic); return(questions == null ? HttpStatusCode.NotFound : Response.AsJson(questions)); }
private async Task <Response> GetInactiveQuestionsForTopic(string topic) { var questions = await topicsManager.GetInactiveQuestionsForTopic(topic); return(questions == null ? HttpStatusCode.NotFound : Response.AsJson(questions)); }