void Awake()
 {
     if (DifMaster == null)
     {
         DifMaster = this;
         DontDestroyOnLoad(gameObject);
     }
     else
     {
         Destroy(gameObject);
     }
 }
        /// <summary>
        /// Convertir une DifficultyViewModel en Difficulty de Quizz
        /// </summary>
        /// <param name="difficultyViewModel"></param>
        /// <returns>new Difficulty</returns>
        public static DifficultyMaster MapToDifficultyMaster(this DifficultyMasterViewModel difficultyMasterViewModel)
        {
            var difficultyMaster = new DifficultyMaster();

            if (difficultyMasterViewModel == null)
            {
                return(difficultyMaster);
            }
            else
            {
                difficultyMaster = new DifficultyMaster
                {
                    DiffMasterId   = difficultyMasterViewModel.DiffMasterId,
                    DiffMasterName = difficultyMasterViewModel.DiffMasterName
                };
                return(difficultyMaster);
            }
        }
        /// <summary>
        /// Convertir une Difficulté de Quizz en View.
        /// </summary>
        /// <param name="difficultyMaster"></param>
        /// <returns>New DifficultyMasterViewModel</returns>
        public static DifficultyMasterViewModel MapToDifficultyMasterViewModel(this DifficultyMaster difficultyMaster)
        {
            var difficultyMasterViewModel = new DifficultyMasterViewModel();

            if (difficultyMaster == null)
            {
                return(difficultyMasterViewModel);
            }
            else
            {
                difficultyMasterViewModel = new DifficultyMasterViewModel
                {
                    DiffMasterId   = difficultyMaster.DiffMasterId,
                    DiffMasterName = difficultyMaster.DiffMasterName
                };
                return(difficultyMasterViewModel);
            }
        }