public IActionResult Details(int id) { var vape = _vapeRepository.GetVapeById(id); if (vape == null) { return(NotFound()); } return(View(vape)); }