자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/// <summary> /// Remove sub campaign account /// </summary> public static void RemoveAccountFromSubCampaign(int AccountId) { using (BrightPlatformEntities objBrightPlatformEntity = new BrightPlatformEntities(UserSession.EntityConnection)) { objBrightPlatformEntity.FIDeActivateSubCampaignAccounts(AccountId); } //var objSubCampaignCompany = objBrightPlatformEntity.sub_campaign_account_lists.Where(i => i.final_list_id == FinalListId && i.account_id == AccountId).SingleOrDefault(); //if (objSubCampaignCompany != null) { // objBrightPlatformEntity.sub_campaign_account_lists.DeleteObject(objSubCampaignCompany); // objBrightPlatformEntity.SaveChanges(); //} }