// конкретная страница вопроса - ответа public async Task <IActionResult> ReadQA(string qaId) { OneQAViewModel oqavm = new OneQAViewModel(); oqavm.qa = await _db.ReadQA(qaId); return(View(oqavm)); }
public async Task <IActionResult> ReadOneQA(string qaId) { var qa = await _db.ReadQA(qaId); return(View(qa)); }