Exemplo n.º 1
0
        // GET: Staff/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var staff = await staffBusiness.getStaffById(id.Value);

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

            return(View(staff));
        }