public bool Enable(ProductType type) { if (type.IsEnabled) { return false; } type.IsEnabled = true; _productTypes.Database.SaveChanges(); Event.Raise(new ProductTypeEnabled(type), _instance); return true; }