public ActionResult Details(int id) { Articles a = ar.GetT(id).ProccessResult; if (a != null) { return(View(a)); } else { return(View(ar.GetByIdApi(id).ProccessResult)); } }
public ActionResult Details(int id) { Articles a = ar.GetT(id).ProccessResult; return(View(a)); }