public virtual IncomeValue AddIncomeValue(Income income, decimal value, DateTime date, string description) { IncomeValue IncomeValue = income.AddIncomeValue(this, value, date, description); IncomeValues.Add(IncomeValue); return(IncomeValue); }
public virtual IncomeValue AddIncomeValue(Budget budget, decimal value, DateTime date, string description) { IncomeValue incomeValue = new IncomeValue { Date = date, Income = this, Value = value, Description = description, Budget = budget, }; Values.Add(incomeValue); return incomeValue; }
public virtual IncomeValue AddIncomeValue(Budget budget, decimal value, DateTime date, string description) { IncomeValue incomeValue = new IncomeValue { Date = date, Income = this, Value = value, Description = description, Budget = budget, }; Values.Add(incomeValue); return(incomeValue); }
public void RemoveIncomeValue(IncomeValue incomeValue) { Budget.RemoveIncomeValue(incomeValue); DeleteRevenue(incomeValue); }
public virtual void RemoveIncomeValue(IncomeValue IncomeValue) { IncomeValues.Remove(IncomeValue); }