Example #1
0
        public int SalvarServicoPagamento(ServicoPagamento servicoPagamento)
        {
            _sGMContext.ServicoPagamento.Add(servicoPagamento);
            _sGMContext.SaveChanges();

            return(servicoPagamento.ServicoPagamentoId);
        }
Example #2
0
 public void AtualizarServicoPagamento(ServicoPagamento servicoPagamento)
 {
     _sGMContext.ServicoPagamento.Update(servicoPagamento);
     _sGMContext.SaveChanges();
 }
Example #3
0
 public PagamentoController()
 {
     servicoPagamento = new ServicoPagamento();
 }