コード例 #1
0
        public MoneyTxnViewModel GetSingle(Guid id)
        {
            var accountBook = _AccountBookRepository.GetSingle(id);

            return(new MoneyTxnViewModel()
            {
                Amount = accountBook.Amounttt,
                Date = accountBook.Dateee,
                Id = accountBook.Id,
                Remark = accountBook.Remarkkk,
                TxnType = (TxnType)accountBook.Categoryyy
            });
        }