public async Task DeleteInteractions(Interactions interactions) { await _interactionsRepository.DeleteAsync(interactions); }
public async Task DeleteInteraction(int id) { var interaction = await _interactionsRepository.GetByIdAsync(id); await _interactionsRepository.DeleteAsync(interaction); }