public Category(CategoryState state) { _state = state; Register <CategoryCreated>(e => { Id = e.CategoryId; _state.Apply(e); }); }
public Category(CategoryState state) { _state = state; Register<CategoryCreated>(e => { Id = e.CategoryId; _state.Apply(e); }); }