51 lines
No EOL
1.1 KiB
C#
51 lines
No EOL
1.1 KiB
C#
using SurveyLib.Core.Models;
|
|
using SurveyLib.Core.Repositories;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using SurveyLib.Infrastructure.EFCore.Data;
|
|
|
|
namespace SurveyLib.Infrastructure.EFCore.Repositories;
|
|
|
|
public class AnswerRepository : IAnswerRepository
|
|
{
|
|
private readonly DataContext _context;
|
|
|
|
public AnswerRepository(DataContext context)
|
|
{
|
|
_context = context;
|
|
}
|
|
|
|
public Task<Answer>? GetByIdAsync(int id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<IEnumerable<Answer>> GetAllAsync()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task AddAsync(Answer entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task UpdateAsync(Answer entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task DeleteAsync(Answer entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<IEnumerable<Answer>> GetByAttemptIdAsync(int attemptId)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<IEnumerable<Answer>> GetByQuestionIdAsync(int questionId)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
} |