Пример #1
0
        public async Task <IActionResult> Index()
        {
            var projs = await logWriter.GetProjects();

            ViewBag.Projects = projs;
            return(View());
        }
Пример #2
0
        public async Task GetProjects()
        {
            var result = await writer.GetProjects();

            Assert.NotNull(result);
        }