public async Task <ActionResult> Details(int id) { var document = await documentService.FindAsync(id); if (document == null) { return(HttpNotFound()); } return(View(productMapper.MapFrom(document))); }