Example #1
0
        public ActionResult AtualizarServico(string tipo, double valor, int Id)
        {
            ServicoDAO daoServico = new ServicoDAO();
            Servico    servicos   = daoServico.BuscarServicoId(Id);

            servicos.Tipo  = tipo;
            servicos.Valor = valor;

            daoServico.AtualizarServico(servicos);

            return(Json(true));
        }