예제 #1
0
        public IEnumerable <UserData> GetOthers(int curUserId)
        {
            logger.Info("BLL: Process of getting userlist started");

            try
            {
                IEnumerable <UserData> temp = daoUsers.GetOthers(curUserId);

                logger.Info("BLL: Process of getting userlist done");
                return(temp);
            }
            catch (StorageException e)
            {
                logger.Error("BLL: Process of getting userlist failed!");
                throw new Exception("error while getting userlist process", e);
            }
            catch (Exception e)
            {
                logger.Error("BLL: Process of getting userlist failed!");
                throw new Exception("error while getting userlist process", e);
            }
        }