Esempio n. 1
0
 /// <summary>
 /// Actualiza un Hoteles
 /// </summary>
 /// <param name="objHoteles>">Entity  Hoteles</param>
 /// <returns>Hoteles</returns>
 public void Update(Hoteles objHoteles)
 {
     HotelesDao objHotelesDao = new HotelesDao();
     objHotelesDao.UpdateHoteles(objHoteles);
 }
Esempio n. 2
0
 /// <summary>
 /// Returns Hoteles by Id
 /// </summary>
 /// <returns> Hoteles</returns>
 public Hoteles SelectByIdHoteles(int hotelid)
 {
     HotelesDao objHotelesDao = new HotelesDao();
     return objHotelesDao.SelectByIdHoteles(hotelid);
 }
Esempio n. 3
0
 /// <summary>
 /// Save   Hoteles
 /// </summary>
 /// <param name="objHoteles">Entity  Hoteles</param>
 /// <returns>Tercero</returns>
 public void Save(Hoteles objHoteles)
 {
     HotelesDao objHotelesDao = new HotelesDao();
     objHotelesDao.InsertarHoteles(objHoteles);
 }
Esempio n. 4
0
 /// <summary>
 /// Returns the list ofHoteles
 /// </summary>
 /// <returns>Listado de Hoteles</returns>
 public IList<Hoteles> SelectAllHoteles()
 {
     HotelesDao objHotelesDao = new HotelesDao();
     return objHotelesDao.SelectAllHoteles();
 }
Esempio n. 5
0
 /// <summary>
 /// Delete  Hoteles
 /// </summary>
 /// <param name="objHoteles>">Entity  Hoteles</param>
 public void Delete(Hoteles objHoteles)
 {
     HotelesDao objHotelesDao = new HotelesDao();
     objHotelesDao.DeleteHoteles(objHoteles);
 }