public Shoe GetDetails(int code) { Shoe shoe = new ShoeDAO().SelectByCode(code); return(shoe); }
public bool Delete(int code) { bool result = new ShoeDAO().Delete(code); return(result); }
public List <Shoe> SearchByName(String keyword) { List <Shoe> shoes = new ShoeDAO().SelectByName(keyword); return(shoes); }
public List <Shoe> GetAll() { List <Shoe> shoes = new ShoeDAO().SelectAll(); return(shoes); }