added reference to Core

added empty implementations of repositories
This commit is contained in:
Вячеслав 2025-03-14 22:41:53 +05:00
parent ca37b03f33
commit 4e3c3e6149
5 changed files with 172 additions and 1 deletions

View file

@ -0,0 +1,42 @@
using SurveyLib.Core.Models;
using SurveyLib.Core.Repositories;
namespace SurveyLib.Infrastructure.EFCore.Repositories;
public class AnswerRepository : IAnswerRepository
{
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();
}
}