public BudgetResponse(Budget budget) { this.Id = budget.Id; this.Name = budget.Name; this.StartDate = budget.StartDate; this.EndDate = budget.EndDate; this.Frequency = budget.Frequency; }
public void Update(Budget entity) { db.Update(entity); }
public void Create(Budget entity) { db.Insert<Budget>(entity); }