예제 #1
0
        public ObjectResult Get(int id)
        {
            var clienteEntity = _clienteApp.ObterClienteById(id);
            var clienteDTO    = _mapper.Map <ClienteDTO>(clienteEntity);

            return(StatusCode((int)HttpStatusCode.OK, clienteDTO));
        }