public void Create(Transaction model) { _ctx.Transactions.Add(model); _ctx.SaveChanges(); }
public void Create(Category model) { _ctx.Categories.Add(model); _ctx.SaveChanges(); }