public TransactionGroupedByBucketViewModel([NotNull] TransactionGroupedByBucket baseline, [NotNull] IUiContext uiContext)
: base(baseline.Transactions, baseline.Bucket)
{
if (uiContext == null)
{
throw new ArgumentNullException(nameof(uiContext));
}
DeleteTransactionCommand = uiContext.StatementController.DeleteTransactionCommand;
EditTransactionCommand = uiContext.StatementController.EditTransactionCommand;
AppliedRulesController = uiContext.StatementController.AppliedRulesController;
}