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

            return(ints);
        }
示例#2
0
        public async Task DeleteInteraction(int id)
        {
            var interaction = await _interactionsRepository.GetByIdAsync(id);

            await _interactionsRepository.DeleteAsync(interaction);
        }