Exemplo n.º 1
0
        public async Task RemoveTask()
        {
            var todoItemId = int.Parse(Context.CallbackQuery.ExtractCallbackPayload());
            await _itemRepository.DeleteByIdAsync(todoItemId);

            await _itemService.RemoveItem(Context.Message);
        }