public IEnumerable <NotifyEntry> GetNotifications() { return(_errorProvider.GetErrors() .Select(message => new NotifyEntry { Message = message, Type = NotifyType.Error })); }