예제 #1
0
        public IActionResult GetResident(int ResidentId)
        {
            var obj = _reRepo.GetResident(ResidentId);

            if (obj == null)
            {
                return(NotFound());
            }
            var objDto = _mapper.Map <ResidentUpdateDto>(obj);

            return(Ok(objDto));
        }