コード例 #1
0
 public int UpdatePublisher(PublisherDTO publisher)
 {
     PublisherDAO dao = new PublisherDAO();
     return dao.UpdatePublisher(publisher);
 }
コード例 #2
0
 public List<PublisherDTO> SearchPublisher(string info)
 {
     PublisherDAO publisherDao=new PublisherDAO();
     return publisherDao.SearchPublisher(info);
 }
コード例 #3
0
 public int InsertPublisher(PublisherDTO publisher)
 {
     PublisherDAO dao = new PublisherDAO();
     return dao.InsertPublisher(publisher);
 }
コード例 #4
0
 public PublisherDTO GetPublisherById(int publisherId)
 {
     PublisherDAO dao = new PublisherDAO();
     return dao.GetPublisherById(publisherId);
 }
コード例 #5
0
 public List<PublisherDTO> GetAllPublisher()
 {
     PublisherDAO dao = new PublisherDAO();
     return dao.GetAllPublisher();
 }
コード例 #6
0
 public int DeletePublisher(PublisherDTO publisher)
 {
     PublisherDAO dao = new PublisherDAO();
     return dao.DeletePublisher(publisher);
 }