Esempio n. 1
0
        /// <summary>
        /// 创建酒店评论
        /// </summary>
        /// <param name="HotelCommentDataObject"></param>
        /// <returns></returns>
        public void  AddHotelComment(Guid hotelId, List <HotelCommentDataObject> HotelCommentDataObject)
        {
            List <HotelComment> listHotelComment = AutoMapper.Mapper.Map <List <HotelCommentDataObject>, List <HotelComment> >(HotelCommentDataObject);

            hotelRepository.AddHotelComment(hotelId, listHotelComment);
        }