示例#1
0
        /// <summary>
        /// Delete  Hoteles
        /// </summary>
        /// <param name="objHoteles">Entity Hoteles</param>
        public void DeleteHoteles(Hoteles objHoteles)
        {
            HotelesBl objHotelesBl = new HotelesBl();

            objHotelesBl.Delete(objHoteles);
        }
示例#2
0
        /// <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);
        }
示例#3
0
        /// <summary>
        /// Returns Hoteles by Id
        /// </summary>
        /// <returns> Hoteles</returns>
        public Hoteles SelectHotelesById(int hotelid)
        {
            HotelesBl objHotelesBl = new HotelesBl();

            return(objHotelesBl.SelectByIdHoteles(hotelid));
        }
示例#4
0
        /// <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);
        }
示例#5
0
        /// <summary>
        /// Returns the list ofHoteles
        /// </summary>
        /// <returns>Listado de Hoteles</returns>
        public IList <Hoteles> SelectAllHoteles()
        {
            HotelesBl objHotelesBl = new HotelesBl();

            return(objHotelesBl.SelectAllHoteles());
        }