public void UpdateIncome(Income income) { context.Entry(income).State = EntityState.Modified; }
public void InsertIncome(Income income) { context.Incomes.Add(income); }