private void SearchProducts(string key) { var result = _productDal.GetByName(key); dgwProducts.DataSource = result; }