/// <summary> /// Delete Hoteles /// </summary> /// <param name="objHoteles">Entity Hoteles</param> public void DeleteHoteles(Hoteles objHoteles) { HotelesBl objHotelesBl = new HotelesBl(); objHotelesBl.Delete(objHoteles); }
/// <summary> /// Actualiza un Hoteles /// </summary> /// <param name="objHoteles">Entity Hoteles</param> /// <returns>Hoteles</returns> public void UpdateHoteles(Hoteles objHoteles) { HotelesBl objHotelesBl = new HotelesBl(); objHotelesBl.Update(objHoteles); }
/// <summary> /// Returns Hoteles by Id /// </summary> /// <returns> Hoteles</returns> public Hoteles SelectHotelesById(int hotelid) { HotelesBl objHotelesBl = new HotelesBl(); return(objHotelesBl.SelectByIdHoteles(hotelid)); }
/// <summary> /// Save Hoteles /// </summary> /// <param name="objHoteles">Entity Hoteles</param> /// <returns>Tercero</returns> public void SaveHoteles(Hoteles objHoteles) { HotelesBl objHotelesBl = new HotelesBl(); objHotelesBl.Save(objHoteles); }
/// <summary> /// Returns the list ofHoteles /// </summary> /// <returns>Listado de Hoteles</returns> public IList <Hoteles> SelectAllHoteles() { HotelesBl objHotelesBl = new HotelesBl(); return(objHotelesBl.SelectAllHoteles()); }