public void Handle(RemoveDepartmentGroupCommand message)
        {
            if (!message.IsValid())
            {
                NotifyValidationErrors(message);
                return;
            }
            var department = _departmentRepository.GetById(message.Id);

            _departmentRepository.Remove(department.Id);

            if (Commit())
            {
                Bus.RaiseEvent(new DepartmentGroupRemovedEvent(message.Id));
            }
        }
        public void Remove(string id)
        {
            var removeCommand = new RemoveDepartmentGroupCommand(id);

            Bus.SendCommand(removeCommand);
        }