Exemplo n.º 1
0
        public ActionResult <BusModel> Get(Guid id)
        {
            var model = _busService.Get(id);

            if (model == null)
            {
                return(BadRequest("Bus not found"));
            }

            return(Ok(model));
        }