public async Task RemoveTask() { var todoItemId = int.Parse(Context.CallbackQuery.ExtractCallbackPayload()); await _itemRepository.DeleteByIdAsync(todoItemId); await _itemService.RemoveItem(Context.Message); }
public async Task RemoveTask() { var todoItemId = int.Parse(Context.CallbackQuery.ExtractCallbackPayload()); await _itemRepository.DeleteByIdAsync(todoItemId); await _itemService.RemoveItem(Context.Message); }