public Task <bool> Handle(RemoverAppCommand message, CancellationToken cancellationToken) { #region Basic Validation if (!message.IsValid()) { NotifyValidationErrors(message); return(Task.FromResult(false)); } #endregion _appRepository.Remove(message.Id); if (Commit()) { _bus.RaiseEvent(new RemoverAppEvent()); } return(Task.FromResult(true)); }
public Task <bool> Handle(RemoverAppCommand request, CancellationToken cancellationToken) { throw new System.NotImplementedException(); }