Application ready before dependency injction
This commit is contained in:
@ -20,6 +20,7 @@ namespace YouTubeViewers.EntityFramework.Commands
|
||||
|
||||
public async Task Execute(YouTubeViewer youTubeViewer)
|
||||
{
|
||||
|
||||
using (YouTubeViewersDbContext context = _contextFactory.Create())
|
||||
{
|
||||
YouTubeViewerDto youTubeViewerDto = new YouTubeViewerDto()
|
||||
|
||||
Reference in New Issue
Block a user