public List <Book> GetAll()
 {
     return(_bookDAL.GetList().ToList());
 }
Example #2
0
 public IDataResult <List <Book> > GetList()
 {
     //Business codes
     return(new SuccessDataResult <List <Book> >(_bookDal.GetList().ToList()));
 }
Example #3
0
 public IList <Book> GetBookList()
 {
     return(dal.GetList());
 }