public ActionResult ManageBooking(int draw, int start, int length)
        {
            try
            {
                IList <Booking> roomBookings = _hotelReservationService.LoadAllBooking();
                int             count        = roomBookings.Count;

                var data = new List <object>();
                int sl   = start + 1;
                foreach (var roomBooking in roomBookings)
                {
                    var str = new List <string>();
                    str.Add(sl.ToString());
                    str.Add(roomBooking.Customer.Firstname);
                    str.Add(roomBooking.Customer.Contactnumber);
                    List <string> roomNo   = roomBooking.Roomhistories.Select(x => x.Room.Roomno).ToList();
                    string        allRooms = string.Join(",", roomNo);
                    str.Add(allRooms);
                    str.Add(Convert.ToDateTime(roomBooking.Checkindate).ToString("g"));
                    str.Add(Convert.ToDateTime(roomBooking.Checkoutdate).ToString("g"));

                    str.Add(LinkGenerator.GetDeleteLinkForModal(roomBooking.Id, "Cancel"));
                    //str.Add(LinkGenerator.GetGeneratedDetailsEditLink("BookingDetails", "EditBooking", "RoomBooking", roomBooking.Id)
                    //        + LinkGenerator.GetDeleteLink("BookingDelete", "RoomBooking", roomBooking.Id));
                    data.Add(str);
                    sl++;
                }
                return(Json(new
                {
                    draw = draw,
                    recordsTotal = count,
                    recordsFiltered = count,
                    start = start,
                    length = length,
                    data = data
                }));
            }
            catch (Exception)
            {
                throw;
            }
        }