Exemplo n.º 1
0
        public IActionResult Create()
        {
            BookUI book = new BookUI()
            {
                BookType    = bookTypeServices.GetParentList(),
                PublishList = publishHouseServices.GetList(),
            };

            return(View(book));
        }
Exemplo n.º 2
0
        public IActionResult Index()
        {
            var list = publish.GetList();

            return(View(list));
        }