9 lines
No EOL
276 B
C#
9 lines
No EOL
276 B
C#
using SurveyLib.Core.Models;
|
|
|
|
namespace SurveyLib.Core.Repositories;
|
|
|
|
public interface IQuestionRepository : IGenericRepository<QuestionBase>
|
|
{
|
|
Task<QuestionBase?> GetWithAnswersAsync(int questionId);
|
|
Task<IEnumerable<QuestionBase>> GetBySurveyIdAsync(int surveyId);
|
|
} |