understood my mistake and created DataContext.cs with new name lol

This commit is contained in:
Вячеслав 2025-04-01 16:59:53 +05:00
parent 90f4f9dd51
commit 8959c3d984
5 changed files with 25 additions and 8 deletions

View file

@ -7,9 +7,9 @@ namespace SurveyLib.Infrastructure.EFCore.Repositories;
public class SurveyRepository : ISurveyRepository
{
private readonly DataContext _context;
private readonly SurveyDbContext _context;
public SurveyRepository(DataContext context)
public SurveyRepository(SurveyDbContext context)
{
_context = context;
}