/// <summary>
        /// This method returns all Commission increment entries from db
        /// </summary>
        /// <returns></returns>
        public List <L_CommissionIncrementValue> GetCommissionIncrementValues()
        {
            try
            {
                using (var unitOfWork = new EFUnitOfWork())
                {
                    var lCommissionIncrementValueRepo =
                        new L_CommissionIncrementValueRepository(new EFRepository <L_CommissionIncrementValue>(), unitOfWork);

                    //Returning List Of Demo Lead
                    return(lCommissionIncrementValueRepo.All().ToList());
                }
            }
            catch (Exception ex)
            {
                CommonErrorLogger.CommonErrorLog(ex, System.Reflection.MethodBase.GetCurrentMethod().Name);
                throw;
            }
        }
        /// <summary>
        /// This method returns comm inc value from ID
        /// </summary>
        /// <param name="commIncID">commIncID</param>
        /// <returns></returns>
        public string GetCommIncValueFromID(int commIncID)
        {
            try
            {
                using (var unitOfWork = new EFUnitOfWork())
                {
                    var lCommissionIncrementValueRepo =
                        new L_CommissionIncrementValueRepository(new EFRepository <L_CommissionIncrementValue>(), unitOfWork);

                    ObjectSet <L_CommissionIncrementValue> lCommIncObjSet =
                        ((CurrentDeskClientsEntities)lCommissionIncrementValueRepo.Repository.UnitOfWork.Context).L_CommissionIncrementValue;

                    return(lCommIncObjSet.Where(comm => comm.PK_CommissionIncrementID == commIncID).FirstOrDefault().CommissionIncrementValue);
                }
            }
            catch (Exception ex)
            {
                CommonErrorLogger.CommonErrorLog(ex, System.Reflection.MethodBase.GetCurrentMethod().Name);
                throw;
            }
        }