Пример #1
0
 public void UpdateIncome(Income income)
 {
     context.Entry(income).State = EntityState.Modified;
 }
Пример #2
0
 public void InsertIncome(Income income)
 {
     context.Incomes.Add(income);
 }