public bool Disable(ShippingMethod method) { if (!method.IsEnabled) { return false; } method.IsEnabled = false; _repository.Database.SaveChanges(); Event.Raise(new ShippingMethodDisabled(method), _instance); return true; }