public async Task AddBudget(BudgetInput input) { Guard.AssertNotNull(input); var budget = new Budget { Name = input.Name, MonthlyBudget = input.MonthlyBudget, WeeklyBudget = input.WeeklyBudget, MonthlySavingAmount = input.MonthlySavingAmount, MonthlySavingPercentage = input.MonthlySavingPercentage, Transactions = GetTransactionsFromInput(input.Transactions), CreatedOn = _clock.Now }; await _budgetRepository.Add(budget); await _uow.Complete(); }
public void AddInput(BudgetInput budgetInput) { throw new NotImplementedException(); }