[HttpGet("{id}/combos")] // GETBYID public ActionResult <IEnumerable <DbCombo> > GetByBurgerId(int id) { try { return(Ok(_comboService.GetByBurgerId(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }
[HttpGet("{id}/combos")] // GETBYID public ActionResult <IEnumerable <DbCombo> > GetByBurgerId(int id) { try { return(Ok(_comboService.GetByBurgerId(id))); } catch (Exception e) { return(BadRequest(e.Message)); } }