public List <PromotionsRecordsEmployeesSeniorityDetailsBLL> GetPromotionsRecordsEmployeesSeniorityDetails()
        {
            List <PromotionsRecordsEmployeesSeniorityDetails>    PromotionsRecordsEmployeesSeniorityDetailsList    = new PromotionsRecordsEmployeesSeniorityDetailsDAL().GetPromotionsRecordsEmployeesSeniorityDetails();
            List <PromotionsRecordsEmployeesSeniorityDetailsBLL> PromotionsRecordsEmployeesSeniorityDetailsBLLList = new List <PromotionsRecordsEmployeesSeniorityDetailsBLL>();

            if (PromotionsRecordsEmployeesSeniorityDetailsList.Count > 0)
            {
                foreach (var item in PromotionsRecordsEmployeesSeniorityDetailsList)
                {
                    PromotionsRecordsEmployeesSeniorityDetailsBLLList.Add(new PromotionsRecordsEmployeesSeniorityDetailsBLL().MapPromotionRecordEmployeeSeniorityDetail(item));
                }
            }

            return(PromotionsRecordsEmployeesSeniorityDetailsBLLList);
        }
        public List <PromotionsRecordsEmployeesSeniorityDetailsBLL> GetByPromotionRecordEmployeeID(int GetByPromotionRecordEmployeeID)
        {
            try
            {
                List <PromotionsRecordsEmployeesSeniorityDetails> PromotionsRecordsEmployeesSeniorityDetailsList =
                    new PromotionsRecordsEmployeesSeniorityDetailsDAL().GetByPromotionRecordEmployeeID(GetByPromotionRecordEmployeeID);
                List <PromotionsRecordsEmployeesSeniorityDetailsBLL> PromotionsRecordsEmployeesSeniorityDetailsBLLList = new List <PromotionsRecordsEmployeesSeniorityDetailsBLL>();
                if (PromotionsRecordsEmployeesSeniorityDetailsList.Count > 0)
                {
                    foreach (var item in PromotionsRecordsEmployeesSeniorityDetailsList)
                    {
                        PromotionsRecordsEmployeesSeniorityDetailsBLLList.Add(new PromotionsRecordsEmployeesSeniorityDetailsBLL().MapPromotionRecordEmployeeSeniorityDetail(item));
                    }
                }

                return(PromotionsRecordsEmployeesSeniorityDetailsBLLList);
            }
            catch
            {
                throw;
            }
        }