Ejemplo n.º 1
0
        public async Task GetAllTestBasesAsync_ReturnsAllElements()
        {
            var numberOfItemsInDatabase = await _context.TestBases.CountAsync();

            _service.GetAllTestBasesAsync().Result.Count().Should().Be(numberOfItemsInDatabase);
        }
        public async Task <IActionResult> Index()
        {
            var model = await _testBaseService.GetAllTestBasesAsync();

            return(View(model));
        }