示例#1
0
        public async Task <IActionResult> Index(GetEventListInput input)
        {
            var output = await _eventAppService.GetListAsync(input);

            var model = new IndexViewModel(output.Items)
            {
            };

            return(View(model));
        }
        public async Task Should_Get_Test_Events()
        {
            var output = await _eventAppService.GetListAsync(new GetEventListInput());

            output.Items.Count.ShouldBe(1);
        }