Example #1
0
 public void UpdateBatch(ReceiptBatch batch, ApplicationDbContext context)
 {
     batch.TransactionSubTypeId = ReceiptTypeId;
     batch.ExpectedAmount       = ExpectedAmount.GetValueOrDefault();
     batch.Effective            = EffectiveDate.Date;
     UpdateTransactions(batch, context);
 }
Example #2
0
 public ReceiptBatch BuildBatch(ApplicationDbContext context)
 {
     return(new ReceiptBatch
     {
         FundId = FundId,
         TransactionSubTypeId = ReceiptTypeId,
         ExpectedAmount = ExpectedAmount.GetValueOrDefault(),
         Effective = EffectiveDate.Date.ToUniversalTime()
     });
 }