Exemplo n.º 1
0
        public void OnPostCreateRide()
        {
            Handler = "CreateRide";
            foreach (RideCategory category in Categories)
            {
                if (category.Id == CategoryId)
                {
                    Ride.Category = category;
                    break;
                }
            }
            RideRepository rr = new RideRepository();

            rr.AddRideToDB(Ride);
        }