/// <summary> /// User booking history /// </summary> /// <param name="User"></param> /// <returns></returns> public static List <BookingDetails> FilteredBookingBL(string User) { List <BookingDetails> Blist = new List <BookingDetails>(); try { Blist = HMS_DAL.FilteredBookingDAL(User); if (Blist == null) { throw new HMS_Exception("No Booking Found"); } } catch (HMS_Exception p) { throw p; } catch (SqlException e) { throw e; } return(Blist); // Returns the list of Hotel }