public IDataResult <List <Hotel> > GetAll() { return(new SuccessDataResult <List <Hotel> >(_hotelDal.GetAll(), Messages <Hotel> .Listed)); }
public List <Hotel> GetAll(Expression <Func <Hotel, bool> > filter = null) { return(_hotelDal.GetAll(filter)); }
public List <Hotel> GetAll() { return(_hotelDal.GetAll()); }
public async Task <List <Hotel> > GetAllHotels() { return(await hotelDal.GetAll()); }