public virtual BOTransaction MapEFToBO( Transaction ef) { var bo = new BOTransaction(); bo.SetProperties( ef.Id, ef.Amount, ef.GatewayConfirmationNumber, ef.TransactionStatusId); return(bo); }
public virtual BOTransaction MapModelToBO( int id, ApiTransactionRequestModel model ) { BOTransaction boTransaction = new BOTransaction(); boTransaction.SetProperties( id, model.Amount, model.GatewayConfirmationNumber, model.TransactionStatusId); return(boTransaction); }