public ActionResult <IEnumerable <GuestbookDto> > Get()
        {
            var theGuestbooks = mGuestbookManagement.ListAll();

            return(theGuestbooks.ToList());
        }
示例#2
0
        // GET: Guestbook
        public IActionResult Index()
        {
            var theGuestbooks = mGuestbookManagement.ListAll();

            return(View(theGuestbooks));
        }