示例#1
0
        public List <UserData> FindByName(int curUserId, string text)
        {
            logger.Info("BLL: Process of users search started");

            try
            {
                List <UserData> temp = daoUsers.FindByName(curUserId, text);

                logger.Info("BLL: Process of creating user done");
                return(temp);
            }
            catch (StorageException e)
            {
                logger.Error("BLL: Process of searching of users failed!");
                throw new Exception("error while users search procecss", e);
            }
            catch (Exception e)
            {
                logger.Error("BLL: Process of searching of users failed!");
                throw new Exception("error while users search procecss", e);
            }
        }