예제 #1
0
 public void Edit(Aluguel actualAluguel, Aluguel editedAluguel)
 {
     try
     {
         actualAluguel.Devolveu  = editedAluguel.Devolveu;
         actualAluguel.Multa     = editedAluguel.Multa;
         actualAluguel.ValorPago = editedAluguel.ValorPago;
         _aluguelRepository.Edit(actualAluguel);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }