private void Apply(GroupDeleted e) { Deleted = true; }
public virtual void OnGroupDeleted(PigGroups group) { GroupDeleted?.Invoke(this, new GroupsEventArgs { Group = group }); }
public async Task Handle(GroupDeleted message) { groupRepository.UpdateSingleProperty(Guid.Parse(message.SourceId), g => g.Deleted, true); }