Beispiel #1
0
        /// <summary>
        /// Removes sub campaign internal user
        /// </summary>
        public static void RemoveSubCampaignUser(int SubCampaignUserId)
        {
            BrightPlatformEntities objDbModel = new BrightPlatformEntities(UserSession.EntityConnection);
            objDbModel.FIDeleteSubCampaignUser(SubCampaignUserId);

            //var objEntityUser = m_objBrightPlatformEntity.subcampaign_users.Where(objSubCampaignUser => objSubCampaignUser.id == SubCampaignUserId).SingleOrDefault();
            //m_objBrightPlatformEntity.subcampaign_users.DeleteObject(objEntityUser);
            //m_objBrightPlatformEntity.SaveChanges();
        }