50 lines
No EOL
1.1 KiB
C#
50 lines
No EOL
1.1 KiB
C#
using SurveyLib.Core.Models;
|
|
using SurveyLib.Core.Repositories;
|
|
using SurveyLib.Infrastructure.EFCore.Data;
|
|
|
|
namespace SurveyLib.Infrastructure.EFCore.Repositories;
|
|
|
|
public class QuestionRepository : IQuestionRepository
|
|
{
|
|
private readonly DataContext _context;
|
|
|
|
public QuestionRepository(DataContext context)
|
|
{
|
|
_context = context;
|
|
}
|
|
|
|
public Task<QuestionBase>? GetByIdAsync(int id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<IEnumerable<QuestionBase>> GetAllAsync()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task AddAsync(QuestionBase entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task UpdateAsync(QuestionBase entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task DeleteAsync(QuestionBase entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<QuestionBase?> GetWithAnswersAsync(int questionId)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<IEnumerable<QuestionBase>> GetBySurveyIdAsync(int surveyId)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
} |