Exemplo n.º 1
0
        public async Task <Card> BlockCardAsync(int cardId)
        {
            var currentCard = await _cardRepository.GetAsync(cardId);

            currentCard.IsBlocked = true;

            var card = await _cardRepository.EditAsync(currentCard);

            return(card);
        }