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,47 @@
using SurveyLib.Core.Models;
using SurveyLib.Core.Repositories;
namespace SurveyLib.Infrastructure.EFCore.Repositories;
public class SurveyRepository : ISurveyRepository
{
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();
}
}