Example #1
0
        public void Create(Transaction model)
        {
            _ctx.Transactions.Add(model);

            _ctx.SaveChanges();
        }
Example #2
0
        public void Create(Category model)
        {
            _ctx.Categories.Add(model);

            _ctx.SaveChanges();
        }