public async Task <IActionResult> Get() { await _bannerepository.RemoveAllBannersAsync(); var name = await _bannerepository.CreateIndexAsync(); await _bannerepository.AddAsync(new Banner() { Id = Guid.NewGuid(), Html = "<div>Hello1</div>", Created = DateTime.UtcNow }); await _bannerepository.AddAsync(new Banner() { Id = Guid.NewGuid(), Html = "<div>Hello2</div>", Created = DateTime.UtcNow }); await _bannerepository.AddAsync(new Banner() { Id = Guid.NewGuid(), Html = "<div>Hello3</div>", Created = DateTime.UtcNow }); await _bannerepository.AddAsync(new Banner() { Id = Guid.NewGuid(), Html = "<div>Hello4</div>", Created = DateTime.UtcNow }); return(Ok("Banners removed and created.")); }