public static void AddCountriesToCallingPlan(CallingPlanDto pCallingPlan, CountryDto[] pSelectedCountries) { using (var _db = new Rbr_Db()) { using (var _tx = new Transaction(_db, pCallingPlan, pSelectedCountries)) { CallingPlanManager.AddCountriesToCallingPlan(_db, pCallingPlan, pSelectedCountries); _tx.Commit(); } } }