public bool AttachCardToUser(AttachCardToUserCommand additionInfo)
        {
            var sleeveRepo = new SleeveRepo();

            var scryCard = _cardRepo.GetCardDetails(additionInfo.ScryId);
            var userCard = _userCardRepo.AttachCardToUser(scryCard);

            _userCardRepo.LinkCardLists(scryCard, userCard.Id);

            if (additionInfo.CollectionType == "Deck")
            {
                var deckRepo    = new DeckRepo();
                var deckToAddTo = deckRepo.GetDeckByDeckId(additionInfo.CollectionId);
                var sleeveInfo  = new
                {
                    DeckId = deckToAddTo.Id,
                    CardId = userCard.Id
                };
                return(sleeveRepo.CreateNewDeckSleeve(sleeveInfo));
            }

            if (additionInfo.CollectionType == "Binder")
            {
                var binderRepo    = new BinderRepo();
                var binderToAddTo = binderRepo.GetBinderByBinderId(additionInfo.CollectionId);
                var sleeveInfo    = new
                {
                    BinderId = binderToAddTo.Id,
                    CardId   = userCard.Id
                };
                return(sleeveRepo.CreateNewBinderSleeve(sleeveInfo));
            }
            return(false);
        }
        public ActionResult <Deck> GetDeckById(string deckId)
        {
            var matchedDeck = _deckRepo.GetDeckByDeckId(deckId);

            return(matchedDeck);
        }