Exemplo n.º 1
0
        // GET: Listings/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            var result = await _repo.Details(id);

            if (result == null)
            {
                return(NotFound());
            }

            return(View(result));
        }