public async Task <Interactions> GetInteractionsById(int id) { var ints = await _interactionsRepository.GetByIdAsync(id); return(ints); }
public async Task DeleteInteraction(int id) { var interaction = await _interactionsRepository.GetByIdAsync(id); await _interactionsRepository.DeleteAsync(interaction); }