17 lines
403 B
C#
17 lines
403 B
C#
using BS.Shared.Extensions;
|
|
using BS.Shared.Interface;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BS.Shared.Core
|
|
{
|
|
public static class ValidatorExtended
|
|
{
|
|
public static bool AreAllAddressSame(IEnumerable<IInvoiceBase> invoiceBases)
|
|
=> invoiceBases.Select(x => x.SenderAddressToString()).AreAllTheSame();
|
|
}
|
|
}
|