Example #1
0
 public void EditItem(EditItemDto changes)
 {
     commandSender.Send(new UpdateDescriptionCommand(changes.Name, changes.Description));
     commandSender.Send(new LinkToTicketCommand(changes.Name, changes.Link));
     commandSender.Send(new UpdateConditionsCommand(changes.Name, changes.Conditions));
 }
Example #2
0
 public void EditItem(EditItemDto changes)
 {
     commandSender.Send(new UpdateDescriptionCommand(changes.Name, changes.Description));
     commandSender.Send(new LinkToTicketCommand(changes.Name, changes.Link));
     commandSender.Send(new UpdateConditionsCommand(changes.Name, changes.Conditions));
 }