private void btnDemoDone_Click(object sender, RoutedEventArgs e) { SetTemplateOfControlFromResource(ctrlBtnDemo, BtnRecordDemoTemplateResourceKey); if (routeSetClimbMode == ClimbMode.Boulder) { if (rocksOnRoute.Any()) { BoulderRoute newBoulderRoute = CreateBoulderRouteFromUi(); BoulderRouteAndRocksDataAccess.InsertRouteAndRocksOnRoute( newBoulderRoute, rocksOnRoute, true); } } }
public void SaveRocksOnBoulderRoute(BoulderRoute boulderRoute) { BoulderRouteAndRocksDataAccess.InsertRouteAndRocksOnRoute( boulderRoute, rocksOnRoute, true); }
public string SaveRocksOnBoulderRoute(BoulderRoute boulderRoute) { return(BoulderRouteAndRocksDataAccess.InsertRouteAndRocksOnRoute( boulderRoute, rocksOnRoute, true)); }