Пример #1
0
        public Employee GetByLoginname(string loginname, PcsEmployeeSO search)
        {
            Employee result = null;

            try
            {
                result = GetWorker.GetByLoginname(loginname, search);
            }
            catch (Exception ex)
            {
                LogSystem.Error(ex);
                result = null;
            }

            return(result);
        }
Пример #2
0
        public User GetByLoginname(string loginname, AasUserSO search)
        {
            User result = null;

            try
            {
                result = GetWorker.GetByLoginname(loginname, search);
            }
            catch (Exception ex)
            {
                LogSystem.Error(ex);
                result = null;
            }

            return(result);
        }