private void createNewUnifiedSocialTaxReport(string identifier) { var instance = new UnifiedSocialTaxReport { IDName = identifier }; Data.Identifiers.Add(identifier); Data.unifiedSocialTaxReports.Add(instance); Data.Instances.Add(instance); }
private void changeForNewInstanceUnifiedSocialTax(string id, UnifiedSocialTaxReport instance) { unifiedSocialTaxReports.Remove(getUnifiedSocilTaxReportItemByID(id)); unifiedSocialTaxReports.Add(instance); }