Example #1
0
        public BookingDetailsForPrintResponse GetBookingDetailsToPrintByBookingId(JObject input)
        {
            BookingDetailsForPrintResponse objresponse = new BookingDetailsForPrintResponse();

            try
            {
                objresponse = objBookingBal.GetBookingDetailsToPrintByBookingId(input);
            }
            catch (Exception ex)
            {
                objresponse.StatusId      = 0;
                objresponse.StatusMessage = ex.Message;
            }
            return(objresponse);
        }
Example #2
0
        public BookingDetailsForPrintResponse GetBookingDetailsToPrintByBookingId(JObject input)
        {
            BookingDetailsForPrintResponse objresponse = new BookingDetailsForPrintResponse();

            try
            {
                int bookingid = Convert.ToInt32(CommonMethods.URLKeyDecrypt(Convert.ToString(input["BookingId"])));

                objresponse = objBookingDal.GetBookingDetailsToPrintByBookingId(bookingid);
            }
            catch (Exception ex)
            {
                objresponse.StatusId      = 0;
                objresponse.StatusMessage = ex.Message;
            }
            return(objresponse);
        }