public ActionResult <BusModel> Get(Guid id) { var model = _busService.Get(id); if (model == null) { return(BadRequest("Bus not found")); } return(Ok(model)); }
public ActionResult <BusModel> Get(Guid id) { var model = _busService.Get(id); if (model == null) { return(BadRequest("Bus not found")); } return(Ok(model)); }