// GET: Status/Details/5 public async Task <IActionResult> Details(int?id) { if (id == null) { return(NotFound()); } var obj = await _statusService.FyndByIdAsync(id.Value); if (obj == null) { return(NotFound()); } return(View(obj)); }