private static Motorcycle ConvertNewMotorcycleToDbMotorcycle(NewMotorcycleModel model, int id)
        {
            Motorcycle m = new Motorcycle();

            m.Displacement = model.Displacement;
            m.EngineType = model.EngineType;
            m.Gears = model.Gears;
            m.TopSpeed = model.TopSpeed;
            m.Torque = model.Torque;
            m.ProductId = id;

            return m;
        }
 partial void UpdateMotorcycle(Motorcycle instance);
 partial void DeleteMotorcycle(Motorcycle instance);
 partial void InsertMotorcycle(Motorcycle instance);