public IHttpActionResult SearchByParams([FromBody] SearchQueryParams searchParams) { IList <SearchView> searchList = _anonymous.SearchByParams(searchParams); if (searchList.Count == 0) { return(NotFound()); } return(Ok(searchList)); }