public void Cadastrar(Card c)
 {
     try
     {
         CardValidation.CardValidationRules(c);
         repositorio.Insert(c);
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }
 public void Cadastrar(Transaction t, Card c, decimal limit)
 {
     try
     {
         CardValidation.CardValidationRules(c);
         TransactionValidation.TransactionValidationRules(t, limit, c.Status);
         repositorio.Insert(t);
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }