public GameSession InitializeBaseGame(int dictionaryId, int userId, GamesEnum gameId)
        {
            var gameSession = new GameSession
            {
                DictionaryId = dictionaryId,
                UserId       = userId,
                GameId       = (int)gameId,
                DateStart    = DateTime.Now
            };

            GameSessionsRepository.Insert(gameSession);
            GameSessionsRepository.Save();

            return(gameSession);
        }
        public bool Delete(int dictionaryId)
        {
            TranslationsRepository.DeleteByDictionaryId(dictionaryId);
            TranslationsRepository.Save();

            GameSessionTranslationsRepository.DeleteByDictionaryId(dictionaryId);
            GameSessionTranslationsRepository.Save();

            GameSessionsRepository.DeleteByDictionaryId(dictionaryId);
            GameSessionsRepository.Save();

            DictionariesRepository.Delete(dictionaryId);
            DictionariesRepository.Save();

            return(true);
        }