Exemplo n.º 1
0
        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);
                }
            }
        }
Exemplo n.º 2
0
 public void SaveRocksOnBoulderRoute(BoulderRoute boulderRoute)
 {
     BoulderRouteAndRocksDataAccess.InsertRouteAndRocksOnRoute(
         boulderRoute, rocksOnRoute, true);
 }
Exemplo n.º 3
0
 public string SaveRocksOnBoulderRoute(BoulderRoute boulderRoute)
 {
     return(BoulderRouteAndRocksDataAccess.InsertRouteAndRocksOnRoute(
                boulderRoute, rocksOnRoute, true));
 }