public void Init() { this._model = new TransactionServiceModel { Amount = 50, Date = DateTime.Now, WalletId = Guid.NewGuid(), CurrencyId = Guid.NewGuid(), CategoryId = Guid.NewGuid(), IsRepeatable = false }; this._repeatableModel = new TransactionServiceModel { Amount = 50, Date = DateTime.Now, WalletId = Guid.NewGuid(), CurrencyId = Guid.NewGuid(), CategoryId = Guid.NewGuid(), IsRepeatable = true, NextRepeat = 2, FrequencyType = FrequencyType.Week, LastOccurrence = DateTime.Now.AddDays(30) }; }
public void ValidateTransaction_Null(TransactionServiceModel serviceModel) { this._transactionService.Validate(serviceModel); }