예제 #1
0
        // конкретная страница вопроса - ответа
        public async Task <IActionResult> ReadQA(string qaId)
        {
            OneQAViewModel oqavm = new OneQAViewModel();

            oqavm.qa = await _db.ReadQA(qaId);

            return(View(oqavm));
        }
예제 #2
0
        public async Task <IActionResult> ReadOneQA(string qaId)
        {
            var qa = await _db.ReadQA(qaId);

            return(View(qa));
        }