Esempio n. 1
0
        public ActionResult bookingupdate(int id)           //booking update can be done here
        {
            tblBooking t = Dbclass.getbookingdetails(id);   //which booking id we want to change that we are retrieving from database and populating in view

            Session["opp"] = t;                             //here by using session variable we are storing the object of that bookingid which we want to edit
            return(View(t));
        }