Exemplo n.º 1
0
 private static void UpdateDetails(RoomForRentAnnouncement roomForRentAnnouncement, UpdateRoomForRentAnnouncementCommand command)
 {
     roomForRentAnnouncement.ChangeTitle(command.Title);
     roomForRentAnnouncement.ChangeSourceUrl(command.SourceUrl);
     roomForRentAnnouncement.ChangeCityId(command.CityId);
     roomForRentAnnouncement.ChangeDescription(command.Description);
     roomForRentAnnouncement.ChangePrice(command.Price);
 }