public bool SaveTransactionDetails(CardTransactionDetails CardTransactionDetail) { try { using (var context = new UniversityEntities()) { context.CardTransactionDetails.Add(CardTransactionDetail); context.SaveChanges(); return(true); } } catch (Exception e) { return(false); } }
public bool SaveTransactionDetails(CardTransactionDetails CardTransactionDetail) { return(_PaymentGatewayRepository.SaveTransactionDetails(CardTransactionDetail)); }