public IList <ReceivedCarton> GetCartonsOfPallet(string palletId) { if (string.IsNullOrWhiteSpace(palletId)) { throw new ArgumentNullException("palletId"); } return(_repos.GetReceivedCartons2(palletId, null)); }