Beispiel #1
0
        // GET: Entry
        public async Task <ActionResult> Index()
        {
            var entryDisplayModel = new EntryDisplayModel
            {
                Entries = await _entryOrchestrator.GetAllEntries()
            };

            return(View(entryDisplayModel));
        }
        public async Task <List <EntryViewModel> > GetAllEntries()
        {
            var entries = await _entryOrchestrator.GetAllEntries();

            return(entries);
        }