deletions update

This commit is contained in:
Вячеслав 2025-05-20 15:59:55 +05:00
parent 6f8ef78577
commit 7bbcd07c39
10 changed files with 71 additions and 22 deletions

View file

@ -4,5 +4,5 @@ namespace SurveyLib.Core.Repositories;
public interface IAnswerRepository : IGenericRepository<Answer>
{
Task DeleteAsync(int questionId, int completionId);
}

View file

@ -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);
}