55 lines
No EOL
1.2 KiB
C#
55 lines
No EOL
1.2 KiB
C#
using SurveyLib.Core.Models;
|
|
using SurveyLib.Core.Repositories;
|
|
using SurveyLib.Infrastructure.EFCore.Data;
|
|
|
|
namespace SurveyLib.Infrastructure.EFCore.Repositories;
|
|
|
|
public class SurveyRepository : ISurveyRepository
|
|
{
|
|
private readonly DataContext _context;
|
|
|
|
public SurveyRepository(DataContext context)
|
|
{
|
|
_context = context;
|
|
}
|
|
|
|
public Task<Survey>? GetByIdAsync(int id)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<IEnumerable<Survey>> GetAllAsync()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task AddAsync(Survey entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task UpdateAsync(Survey entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task DeleteAsync(Survey entity)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Survey?> GetWithQuestionsAsync(int surveyId)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Survey?> GetWithCompletionsAsync(int surveyId)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<Survey?> FindByTitleAsync(string title)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
} |