public static bool Delete(Int32 basketId) { Basket basket = new Basket(); if (basket.Load(basketId)) { return(basket.Delete()); } return(false); }
public static bool Delete(Basket basket) { return(basket.Delete()); }