Beispiel #1
0
        public ActionResult <UsaStateReadDto> GetUsaStateById(int id)
        {
            var ret = _repository.GetUsaStateById(id);

            if (ret != null)
            {
                return(Ok(_mapper.Map <UsaStateReadDto>(ret)));
            }

            return(NotFound());
        }