public IActionResult DetailsModel(int id) { Models model = _modelRepository.FindWithDetails(id); return(View(model)); }