示例#1
0
        public ActionResult <OfficeResponse> FindOfficeById(int id)
        {
            var result = _officeRepository.FindOfficeResourceById(id);

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

            return(Ok(result));
        }