Ejemplo n.º 1
0
        // GET: Institutes/Details/5
        public IActionResult Details(int id)
        {
            var institute = _iInstituteManager.GetById(id);

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

            return(View(institute));
        }
        public IActionResult Details(long?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var institutes = _iInstituteManager.GetById(id);

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

            return(View(institutes));
        }