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