Application ready before dependency injction

This commit is contained in:
2022-08-23 23:31:45 +02:00
parent d3b7ff17be
commit 2b42691434
15 changed files with 234 additions and 78 deletions

View File

@ -20,6 +20,7 @@ namespace YouTubeViewers.EntityFramework.Commands
public async Task Execute(YouTubeViewer youTubeViewer)
{
using (YouTubeViewersDbContext context = _contextFactory.Create())
{
YouTubeViewerDto youTubeViewerDto = new YouTubeViewerDto()