예제 #1
0
 /// <summary>
 /// Returns a list of all bookings
 /// </summary>
 /// <returns>A list of all bookings</returns>
 public IEnumerable <Booking> GetAllBookings()
 {
     try
     {
         return(repo.GetAll());
     }
     catch (Exception ex)
     {
         LogManager.Error(ex.Message);
         throw;
     }
 }