コード例 #1
0
        public Employee GetById(long id, PcsEmployeeSO search)
        {
            Employee result = null;

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

            return(result);
        }
コード例 #2
0
        public CredentialData GetById(long id, AasCredentialDataSO search)
        {
            CredentialData result = null;

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

            return(result);
        }
コード例 #3
0
ファイル: PcsPostDAO.cs プロジェクト: dunglh/MyProject
        public Post GetById(long id, PcsPostSO search)
        {
            Post result = null;

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

            return(result);
        }
コード例 #4
0
        public UserRole GetById(long id, AasUserRoleSO search)
        {
            UserRole result = null;

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

            return(result);
        }
コード例 #5
0
        public Application GetById(long id, AasApplicationSO search)
        {
            Application result = null;

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

            return(result);
        }
コード例 #6
0
        public Address GetById(long id, PcsAddressSO search)
        {
            Address result = null;

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

            return(result);
        }