public FlashcardService(Guid userID)
 {
     _userID               = userID;
     flashcardKeyService   = new FlashcardKeyService(_userID);
     flashcardValueService = new FlashcardValueService(_userID);
     _flashcardList        = flashcardKeyService.GetFlashcardsForReview();
     _flashcardValues      = flashcardValueService.GetFlashcardsValues();
 }
Пример #2
0
 public DeckService(Guid userID)
 {
     _userID               = userID;
     flashcardKeyService   = new FlashcardKeyService(_userID);
     flashcardValueService = new FlashcardValueService(_userID);
 }