示例#1
0
 /// <summary>
 /// Method To Update
 /// </summary>
 /// <param name="hotel"></param>
 public void Updatehotel(HappyTrip.Models.Hotel hotel)
 {
     hotelRepository.Update(hotel);
 }
示例#2
0
 /// <summary>
 /// Method To Add/Save Hotel In Repository
 /// </summary>
 /// <param name="hotel"></param>
 public void SaveHotel(HappyTrip.Models.Hotel hotel)
 {
     hotelRepository.Create(hotel);
 }