public List <BookingTable> GetBooking(string coin) { var dao = new BookingTableDao(); return(dao.Select(coin) .Where(b => b.Platform.ID == platform.ID) .ToList()); }
public void Execute() { var doa = new BookingTableDao(); var data = doa.Select(); if (ExcuteEvent != null) { ExcuteEvent(data); } }