public IHttpActionResult GetProduct(int age, bool isStudent) { BussinesRules logic = new BussinesRules(); bundle.Bundles = logic.GetBundle(age, isStudent, 0); if (bundle.Bundles == null) { throw new HttpResponseException(HttpStatusCode.NotFound); } return(Ok(bundle)); }