Пример #1
0
        public IActionResult GetWithEmployee(int id)
        {
            var item = _repo.GetRoomWithEmployees(id);

            if (item == null)
            {
                return(NotFound());
            }

            return(Json(item));
        }