public IList<ARTrackingCommentModel> getARTrackingCommentListByCustomerIDwithDate(int month, int year, string CustomerID)
        {
            objComments = new ARTS_CommentRepository();
            Mapper.CreateMap<ARTS_Comment,ARTrackingCommentModel>();

            DateTime beginDate= new DateTime(year,month,1);
            DateTime endDate = new DateTime(year,month,DateTime.DaysInMonth(year,month)).AddDays(1);

            IList<ARTS_Comment> objEnitity = objComments.GetQuery().Where(x => x.CommentDate >= beginDate).ToList();
            objEnitity = objEnitity.Where(x => x.CommentDate < endDate).ToList();
            objEnitity = objEnitity.Where(x => x.CustomerID.Equals(CustomerID)).ToList();

            //var objEnitity = objComments.GetAll();

            IList<ARTrackingCommentModel> result = new List<ARTrackingCommentModel>();

            if (objEnitity != null)
                result = Mapper.Map(objEnitity, result);
            else
                result = null;

            return result;
        }
        public IList<ARTrackingCommentModel> getARTrackingCommentListAllByCustomer(string CustomerID)
        {
            objComments = new ARTS_CommentRepository();
            Mapper.CreateMap<ARTS_Comment, ARTrackingCommentModel>();

            IList<ARTS_Comment> objEnitity = objComments.GetQuery().Where(x => x.CustomerID.Equals(CustomerID)).ToList();

            IList<ARTrackingCommentModel> result = new List<ARTrackingCommentModel>();

            if (objEnitity != null)
                result = Mapper.Map(objEnitity, result);
            else
                result = null;

            return result;
        }