Beispiel #1
0
        public List <proc_GetBookings_Result> GettblBooking(string id)
        {
            //tblBooking tblBooking = db.tblBookings.Find(id);
            //tblBooking tblBooking= db.proc_GetBooking(id).ToList();
            List <proc_GetBookings_Result> booking = new List <proc_GetBookings_Result>();

            foreach (var item in db.proc_GetBookings(id))
            {
                booking.Add(item);
            }


            return(booking);
        }