Example #1
0
        public static List <LEVEL> GetAllLevels()
        {
            try
            {
                LevelLogic   levelLogic = new LevelLogic();
                List <LEVEL> levels     = levelLogic.GetAll();

                if (levels != null && levels.Count > 0)
                {
                    levels.Insert(0, new LEVEL()
                    {
                        Id = 0, Name = SelectLevel
                    });
                }

                return(levels);
            }
            catch (Exception)
            {
                throw;
            }
        }