public int CreateNew(Balance balance)
        {
            BalanceDBO dbo = new BalanceDBO(balance);

            _dbContext.Add(dbo);
            _dbContext.SaveChanges();
            return(dbo.Id);
        }
        public void Delete(int id)
        {
            BalanceDBO removing = this.GetDBO(id);

            if (removing != null)
            {
                _dbContext.Balances.Remove(removing);
                _dbContext.SaveChanges();
            }
        }
        public void Update(int id, Balance value)
        {
            BalanceDBO updating = this.GetDBO(id);

            if (updating != null)
            {
                value.CopyTo(updating);
                _dbContext.SaveChanges();
            }
        }