コード例 #1
0
        public IActionResult DisplayCreators()
        {
            List <Creator>   creators          = creatorService.GetCreators();
            CreatorListModel creatorsListModel = new CreatorListModel
            {
                Creators = creators
            };

            return(View(creatorsListModel));
        }
コード例 #2
0
        public List <Creator> GetCreators()
        {
            List <Creator> creators = creatorService.GetCreators();

            return(creators);
        }