private void SearchProductsByUnitPrice(decimal min, decimal max) { //decimal min = Convert.ToDecimal(tbxMinPrice.Text); //decimal max = Convert.ToDecimal(tbxMaxPrice.Text); dgwProducts.DataSource = _productDal.GetByUnitPrice(min, max); }