as no tracking get methods

This commit is contained in:
Вячеслав 2025-05-31 00:50:39 +05:00
parent 0ee41aebef
commit 8790e7c7cf
6 changed files with 27 additions and 1 deletions

View file

@ -19,6 +19,11 @@ public class AnswerRepository : IAnswerRepository
throw new NotImplementedException();
}
public async Task<Answer?> GetByIdAsNoTrackingAsync(int id)
{
throw new NotImplementedException();
}
public async Task<IEnumerable<Answer>> GetAllAsync()
{
return await _context.Answers.ToListAsync();