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 QuestionRepository : IQuestionRepository
{
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();
}
}