private void Apply(CategoryShown e) { Visible = true; }
public async Task Handle(CategoryShown message) { categoryRepository.UpdateSingleProperty(Guid.Parse(message.SourceId), c => c.Visible, true); }