/// <summary>
        /// 新增-傳入 ViewModel 資料
        /// </summary>
        /// <param name="MoneyAdd"></param>
        public void Add(MoneyAddViewModels MoneyAdd)
        {
            var result = new AccountBook()
            {
                Categoryyy = MoneyAdd.Category,
                Amounttt   = MoneyAdd.Amount,
                Dateee     = MoneyAdd.BillingDate,
                Remarkkk   = MoneyAdd.Memo
            };

            Add(result);
        }
        /// <summary>
        /// 明細
        /// </summary>
        /// <param name="data"></param>
        /// <returns></returns>
        public MoneyAddViewModels Detail(AccountBook data)
        {
            var result = new MoneyAddViewModels()
            {
                Id          = data.Id,
                Category    = data.Categoryyy,
                Amount      = data.Amounttt,
                BillingDate = data.Dateee,
                Memo        = data.Remarkkk
            };

            return(result);
        }
        /// <summary>
        /// 編輯
        /// </summary>
        /// <param name="MoneyAdd"></param>
        /// <param name="olddata"></param>
        public void Edit(MoneyAddViewModels MoneyAdd, AccountBook olddata)
        {
            var newdata = new AccountBook()
            {
                Id         = MoneyAdd.Id,
                Categoryyy = MoneyAdd.Category,
                Amounttt   = MoneyAdd.Amount,
                Dateee     = MoneyAdd.BillingDate,
                Remarkkk   = MoneyAdd.Memo
            };

            Edit(newdata, olddata);
        }