deletions update
This commit is contained in:
parent
6f8ef78577
commit
7bbcd07c39
10 changed files with 71 additions and 22 deletions
|
|
@ -4,5 +4,5 @@ namespace SurveyLib.Core.Repositories;
|
|||
|
||||
public interface IAnswerRepository : IGenericRepository<Answer>
|
||||
{
|
||||
|
||||
Task DeleteAsync(int questionId, int completionId);
|
||||
}
|
||||
|
|
@ -8,5 +8,5 @@ public interface IGenericRepository<T> where T : class
|
|||
Task<IEnumerable<T>> GetAllAsync();
|
||||
Task AddAsync(T entity);
|
||||
Task UpdateAsync(T entity);
|
||||
Task DeleteAsync(T entity);
|
||||
Task DeleteAsync(int id);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue