public Task Handle(TenantTaskChangeTypeEvent message)
 {
     return(Update(message.SourceId, Builders <DayAssign> .Update.Set(f => f.TenantType, message.Type)));
 }
示例#2
0
 private void Apply(TenantTaskChangeTypeEvent e)
 {
     Type = e.Type;
 }