public JsonResult FilterBirdByTax([FromBody] Bird bird) { ResultResponseModel response = new ResultResponseModel(); try { SelectQueries query = new SelectQueries(); var result = query.FilterBirdTaxon(bird); response.data = result; response.error = new Error(200, "OK"); } catch (Exception ex) { response.error = new Error(500, ex.Message); } return(Json(response)); }