Example #1
0
        /// <summary>
        /// 创建酒店账号
        /// </summary>
        /// <param name="HotelAccountDataObject"></param>
        /// <returns></returns>
        public void AddHotelAccount(Guid hotelId, List <HotelAccountDataObject> HotelAccountDataObject)
        {
            List <HotelAccount> listHotelAccount = AutoMapper.Mapper.Map <List <HotelAccountDataObject>, List <HotelAccount> >(HotelAccountDataObject);

            hotelRepository.AddHotelAccount(hotelId, listHotelAccount);
        }