private void OnAsycudaSalesAllocationsExsFilterExpressionChanged(object sender, NotificationEventArgs e)
 {
     AsycudaSalesAllocationsExs.Refresh();
     SelectedAsycudaSalesAllocationsExs.Clear();
     NotifyPropertyChanged(x => SelectedAsycudaSalesAllocationsExs);
     BeginSendMessage(MessageToken.SelectedAsycudaSalesAllocationsExsChanged, new NotificationEventArgs(MessageToken.SelectedAsycudaSalesAllocationsExsChanged));
 }
        private void SetSelectetal()
        {
            var lst = SelectedAsycudaSalesAllocationsExs.Where(x => x != null).ToList();

            if (!lst.Any())
            {
                SelectedTotalValue     = 0;
                SelectedAllocatedValue = 0;
            }
            else
            {
                SelectedTotalValue     = Convert.ToDecimal(lst.Sum(x => x.TotalValue));
                SelectedAllocatedValue = Convert.ToDecimal(lst.Sum(x => x.AllocatedValue));
            }
        }