private void Load()
 {
     CurrentPage  = 1;
     ISFirst      = false;
     TotalRecords = _saleServ.GetSalesNumer(Key);
     LastPage     = (int)Math.Ceiling(Convert.ToDecimal((double)_saleServ.GetSalesNumer(_key) / 17));
     if (_lastPage == 0)
     {
         LastPage = 1;
     }
     if (_lastPage == 1)
     {
         ISLast = false;
     }
     else
     {
         ISLast = true;
     }
     Sales = new ObservableCollection <Sale>(_saleServ.SearchSales(_key, _currentPage));
 }