Beispiel #1
0
        public IActionResult Details(int id)
        {
            var model = _employeesData.GetEmployeeById(id);

            if (ReferenceEquals(null, model))
            {
                return(NotFound());
            }
            return(View(model));
        }