public void OnGet(CommentSearchModel searchModel) { Comments = _commentApplication.Search(searchModel); }
public void OnGet(CommentSearchModel searchModel) { Comments = _commentApplication.Search(searchModel); Products = new SelectList(_productApplication.GetProducts(), "Id", "Name"); }