public void Delete(CustVisitActivityModel entity)
        {
            objCustVisitActivity = new CRM_CustVisitActivityRepository();

            if (objCustVisitActivity.GetAll(v => v.VisitedDate == entity.VisitedDate && v.CustomerID == entity.CustomerID
                && v.CreatedBy == entity.CreatedBy).Count() > 0)
            {
                CRM_CustVisitActivity deleteRecord = objCustVisitActivity.GetSingle(v => v.VisitedDate == entity.VisitedDate && v.CustomerID == entity.CustomerID
                && v.CreatedBy == entity.CreatedBy);

                objCustVisitActivity.Delete(deleteRecord);
            }
        }