public IHttpActionResult GetInsuranceBy(int id) { var insurance = repo.GetInsuranceId(id); if (insurance == null) { return(NotFound()); } else { return(Ok(insurance)); } }
public IHttpActionResult GetInsuranceBy(int id) { var insurance = repo.GetInsuranceId(id); if (insurance == null) { return(NotFound()); } else { return(Ok(insurance)); } }