private void UpdateBudget(BudgetAddViewModel model, Budgets budget) { budget.Amount = model.Amount; this.budgetRepository.Save(budget); var handler = this.Updated; handler?.Invoke(this, EventArgs.Empty); }
public BudgetModel(Budgets budget, Period period) { this.budget = budget; this.period = period; }