示例#1
0
        // GET: Departamentos/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var departamento = await _departamentoService.FindByIdAsync(id.Value);

            return(View(departamento));
        }