示例#1
0
        public async Task Update(RoomItemDropEntity room)
        {
            await _roomRepository.Update(room);

            await _bus.RaiseEvent(new EntityUpdatedEvent <RoomItemDropEntity>(room)).ConfigureAwait(false);
        }
示例#2
0
 public async Task Add(RoomItemDropEntity room)
 {
     await _roomRepository.Add(room);
 }