Пример #1
0
        public void InsertBike(int IDBike, string Name, string Category, string Brand, int Price, float BWeight, int Size, string Gender, string Material, string Colour, int WheelSize, string Features)
        {
            DBBike dbb = new DBBike();

            dbb.OpenConnection();
            dbb.InsertBike(IDBike, Name, Category, Brand, Price, BWeight, Size, Gender, Material, Colour, WheelSize, Features);
            dbb.CloseConnection();
        }
Пример #2
0
        public void DeleteBike(int IDBike)
        {
            DBBike dbb = new DBBike();

            dbb.OpenConnection();
            dbb.DeleteBike(IDBike);
            dbb.CloseConnection();
        }