Ejemplo n.º 1
0
        public IActionResult List(int id)
        {
            IEnumerable <Speaker> speakers = _speakerService.GetAll();

            IEnumerable <Speech> speechItems = _speechService.GetAll();

            return(View(speechItems.Where(x => x.AuthorId == id)));
        }