예제 #1
0
 public BudgetResponse(Budget budget)
 {
     this.Id = budget.Id;
     this.Name = budget.Name;
     this.StartDate = budget.StartDate;
     this.EndDate = budget.EndDate;
     this.Frequency = budget.Frequency;
 }
예제 #2
0
 public void Update(Budget entity)
 {
     db.Update(entity);
 }
예제 #3
0
 public void Create(Budget entity)
 {
     db.Insert<Budget>(entity);
 }