Exemple #1
0
        public bool UpdateRoom(RoomModel RoomModel)
        {
            Room room = Mapper.Map <RoomModel, Room>(RoomModel);

            return(service.UpdateRoom(room));
        }
Exemple #2
0
        public int AddRoom(RoomModel RoomModel)
        {
            Room room = Mapper.Map <RoomModel, Room>(RoomModel);

            return(service.AddRoom(room));
        }