public Task Handle(OperationalTaskChangeTitleEvent message)
 {
     return(Update(message.SourceId,
                   Builders <OperationalTaskModel> .Update.Set(f => f.Id, message.SourceId),
                   Builders <OperationalTaskModel> .Update.Set(f => f.Title, message.Title)
                   ));
 }
Example #2
0
 private void Apply(OperationalTaskChangeTitleEvent e)
 {
     Title = e.Title;
 }