public IHttpActionResult GetByStore(int id) { try { return(Ok(_business.GetByStore(id))); } catch { return(BadRequest()); } }