public ActionResult Details(int id) { Firm firm = firmData.GetById(id); if (firm != null) { return(View(firmData.GetById(id))); } else { return(NotFound()); } }
public ActionResult Details(int id) { QuestionAnswer questionAnswer = questionAnswerData.GetById(id); if (questionAnswer != null) { return(View(questionAnswerData.GetById(id))); } else { return(NotFound()); } }