Esempio n. 1
0
        public List <Employee> Get(PcsEmployeeSO search, CommonParam param)
        {
            List <Employee> result = new List <Employee>();

            try
            {
                result = GetWorker.Get(search, param);
            }
            catch (Exception ex)
            {
                param.HasException = true;
                LogSystem.Error(ex);
                result.Clear();
            }
            return(result);
        }
Esempio n. 2
0
        public List <CredentialData> Get(AasCredentialDataSO search, CommonParam param)
        {
            List <CredentialData> result = new List <CredentialData>();

            try
            {
                result = GetWorker.Get(search, param);
            }
            catch (Exception ex)
            {
                param.HasException = true;
                LogSystem.Error(ex);
                result.Clear();
            }
            return(result);
        }