public IHttpActionResult SearchProducts(string searchText) { var data = _objContext.SearchProducts(searchText); if (data == null) { return(NotFound()); } return(Ok(data)); }
public IHttpActionResult SearchProducts(string searchText) { var data = _objContext.SearchProducts(searchText); if (data == null) { return(NotFound()); } return(Ok(data)); }