private void LoadArticlesSearch(string search) { if (search == "") { LoadArticles(); } else { var datasource = _articleServices.SearchArticles(search); metroGridSearchRes.DataSource = datasource.ToList(); VerifiedNotFoundMessage(datasource); } }
private void LoadArticlesSearch(string search) { if (search == "") { LoadArticles(); } else { var datasource = _articleServices.SearchArticles(search); metroGridSearchRes.DataSource = datasource.ToList(); VerifiedNotFoundMessage(datasource); } }