Exemplo n.º 1
0
        public Result LevelUpdate(Level oLevel)
        {
            Result oResult = new Result();

            try
            {
                LevelDAO oLevelDAO = new LevelDAO();

                oResult = oLevelDAO.LevelUpdate(oLevel);
            }
            catch (Exception oEx)
            {
                oResult.ResultIsSuccess = false;
                oResult.ResultException = oEx;
                oResult.ResultMessage = "Exception occured during Level Update..";
            }

            return oResult;
        }
Exemplo n.º 2
0
        public Result LoadAllLevels()
        {
            Result oResult = new Result();

            try
            {
                LevelDAO oLevelDAO = new LevelDAO();

                oResult = oLevelDAO.LoadAllLevels();
            }
            catch (Exception oEx)
            {
                oResult.ResultIsSuccess = false;
                oResult.ResultException = oEx;
                oResult.ResultMessage = "Exception occured during Load All Levels..";
            }

            return oResult;
        }