/// <summary>
        /// Check customer is grouped or not
        /// </summary>
        /// <param name="companyId">The company id</param>
        /// <param name="customerId">The customer id</param>
        /// <returns>Return true if customer is grouped, otherwise false</returns>
        private bool CheckCustomerGroupBy(int companyId, int customerId)
        {
            CustomerCommentDAL customerCommentDal = new CustomerCommentDAL();

            CustomerCommentVO customerCommentVO = customerCommentDal.GetCustomerCommentByCompanyIdAndCustomerId(companyId, customerId);

            bool isGrouped = false;

            //if customer found
            if (customerCommentVO != null)
            {
                isGrouped = customerCommentVO.Group;
            }

            return(isGrouped);
        }
 /// <summary>
 /// Constructor
 /// </summary>
 public CustomerCommentService()
 {
     customerCommentDAL = new CustomerCommentDAL();
 }