public TS_21HandOverTerritory[] PostTSHandOverTerritory(TS_21HandOverTerritory[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_21HandOverTerritory>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_23ChangeStateRelationships[] PostTSChangeStateRelationships(TS_23ChangeStateRelationships[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_23ChangeStateRelationships>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_18Movement[] PostTSMovement(TS_18Movement[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_18Movement>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_19TradeAndLoading2[] PostTSTradeAndLoading2(TS_19TradeAndLoading2[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_19TradeAndLoading2>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_14FormFederations[] PostTSFormFederations(TS_14FormFederations[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_14FormFederations>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_15CoastalDefence[] PostTSCoastalDefence(TS_15CoastalDefence[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_15CoastalDefence>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_12IncreasePopulationDensity[] PostTSIncreasePopulationDensity(TS_12IncreasePopulationDensity[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_12IncreasePopulationDensity>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_13BuildProductionSites[] PostTSBuildProductionSites(TS_13BuildProductionSites[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_13BuildProductionSites>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_11BuildBaggageTrain[] PostTSBuildBaggageTrain(TS_11BuildBaggageTrain[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_11BuildBaggageTrain>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_09RepairShips_BaggageTrains[] PostTSRepairShips_BaggageTrains(TS_09RepairShips_BaggageTrains[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_09RepairShips_BaggageTrains>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_06IncreaseBrigadeXP[] PostTSIncreaseBrigadeXP(TS_06IncreaseBrigadeXP[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_06IncreaseBrigadeXP>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_04SetUpAdditionalBrigades[] PostTSSetUpAdditionalBrigades(TS_04SetUpAdditionalBrigades[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_04SetUpAdditionalBrigades>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }
public TS_02DemolishItems[] PostTSDemolishItems(TS_02DemolishItems[] tsPostedRecords) { using (var dataContext = new AusterlitzDbContext()) { var listRepository = new TurnSheetRepository <TS_02DemolishItems>(dataContext); var result = listRepository.SaveRange(tsPostedRecords); return(result.ToArray()); } }