// GET: Armies/Details/5 public async Task <IActionResult> Details(int?id) { try { var army = await _armyService.GetOneWithDetails(id); return(View(army)); } catch (ArgumentNullException) { return(NotFound()); } catch (Exception) { return(NotFound()); } }