understood my mistake and created DataContext.cs with new name lol
This commit is contained in:
parent
90f4f9dd51
commit
8959c3d984
5 changed files with 25 additions and 8 deletions
|
|
@ -7,9 +7,9 @@ namespace SurveyLib.Infrastructure.EFCore.Repositories;
|
|||
|
||||
public class QuestionRepository : IQuestionRepository
|
||||
{
|
||||
private readonly DataContext _context;
|
||||
private readonly SurveyDbContext _context;
|
||||
|
||||
public QuestionRepository(DataContext context)
|
||||
public QuestionRepository(SurveyDbContext context)
|
||||
{
|
||||
_context = context;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue