// GET: Cliente/Details/5
 public ActionResult Details(Guid id)
 {
     return(View(_clienteApp.PesquisarPorId(id)));
 }
예제 #2
0
 public ClienteViewModel Get(Guid id)
 {
     return(_clienteApp.PesquisarPorId(id));
 }
        public JsonResult CarregarDetalhesUsuario(Guid id)
        {
            var cliente = _clienteApp.PesquisarPorId(id);

            return(Json(cliente));
        }