Example #1
0
        public ActionResult DeletarTelefoneConfirmed(Guid id)
        {
            var clienteId = _clienteApplication.ObterTelefonePorId(id).ClienteId;

            _clienteApplication.RemoverTelefone(id);

            string url = Url.Action("ListarTelefones", "Clientes", new { id = clienteId });

            return(Json(new { success = true, url = url }));
        }