コード例 #1
0
 public DataTable DisplayTaxi_BLL()
 {
     try
     {
         BookingOperations bookingOperations = new BookingOperations();
         return(bookingOperations.DisplayTaxi_DAL());
     }
     catch (BookingException)
     {
         throw;
     }
 }
コード例 #2
0
 public DataTable BookStatus(string custId)
 {
     try
     {
         BookingOperations bookingOperations = new BookingOperations();
         return(bookingOperations.Book_Statusdal(custId));
     }
     catch (BookingException)
     {
         throw;
     }
 }
コード例 #3
0
 public DataTable DriverHistory_BLL(string id)
 {
     try
     {
         BookingOperations bookingOperations = new BookingOperations();
         return(bookingOperations.DriverHistory_DAL(id));
     }
     catch (BookingException)
     {
         throw;
     }
 }
コード例 #4
0
 public Booking SearchBooking_BLL(int bookingID)
 {
     try
     {
         BookingOperations pd = new BookingOperations();
         return(pd.SearchBook_DAL(bookingID));
     }
     catch (BookingException)
     {
         throw;
     }
 }
コード例 #5
0
 public DataTable DisplayBooking_BLL()
 {
     try
     {
         BookingOperations pd = new BookingOperations();
         return(pd.DisplayBook_DAL());
     }
     catch (BookingException)
     {
         throw;
     }
 }
コード例 #6
0
 public DataTable CheckBooking_BLL(string EmpID)
 {
     try
     {
         BookingOperations bo = new BookingOperations();
         return(bo.CheckBooking_DAL(EmpID));
     }
     catch (BookingException)
     {
         throw;
     }
 }
コード例 #7
0
 public DataTable PrintReport_BLL(DateTime fromDate, DateTime toDate)
 {
     try
     {
         BookingOperations bookingOperations = new BookingOperations();
         return(bookingOperations.PrintReport_DAL(fromDate, toDate));
     }
     catch (BookingException)
     {
         throw;
     }
 }
コード例 #8
0
 public int BookingTaxi_BLL(Booking pobj)
 {
     try
     {
         BookingOperations pd = new BookingOperations();
         return(pd.BookingTaxi_DAL(pobj));
     }
     catch (TaxiExceptions)
     {
         throw;
     }
 }
コード例 #9
0
        public int BookingTaxi_BLL(Booking pobj, string LoginId)
        {
            int bid = 0;

            try
            {
                BookingOperations pd = new BookingOperations();
                if (ValidateBooking(pobj))
                {
                    bid = pd.BookingTaxi_DAL(pobj, LoginId);
                    return(bid);
                }
            }
            catch (BookingException)
            {
                throw;
            }
            return(bid);
        }
コード例 #10
0
        public DataTable BookStatus(string custId)
        {
            BookingOperations bookingOperations = new BookingOperations();

            return(bookingOperations.Book_Statusdal(custId));
        }
コード例 #11
0
        public DataTable CheckBooking(string EmpID)
        {
            BookingOperations bo = new BookingOperations();

            return(bo.CheckBooking(EmpID));
        }