Skip to content

Commit

Permalink
Removing Unnecessary Dependency (stphnwlsh#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
stphnwlsh authored Sep 28, 2023
1 parent 79c04db commit eb9c7c0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Infrastructure/DependencyInjection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public static class DependencyInjection
{
public static IServiceCollection AddInfrastructure(this IServiceCollection services)
{
_ = services.AddEntityFrameworkInMemoryDatabase();
_ = services.AddDbContext<MovieReviewsDbContext>(options => options.UseInMemoryDatabase($"Movies-{Guid.NewGuid()}"), ServiceLifetime.Singleton);

_ = services.AddAutoMapper(AppDomain.CurrentDomain.GetAssemblies());
Expand Down

0 comments on commit eb9c7c0

Please sign in to comment.