private Task <Unit> Notify(IEnumerable <ValidationFailure> failures)
        {
            var result = default(Unit);

            foreach (var failure in failures)
            {
                _notificationContext.NotifyError(failure.ErrorMessage);
            }

            return(Task.FromResult(result));
        }