Esempio n. 1
0
        public ObjectResult Get()
        {
            var clienteEntity = _clienteApp.ListarClientes();
            var clienteDTO    = _mapper.Map <List <ClienteDTO> >(clienteEntity);

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