コード例 #1
0
        public IActionResult GetExpenseByID(int id)
        {
            if (id < 0)
            {
                BadRequest();
            }
            var expense = _ExpensesRepo.GetExpenseByID(id);

            return(Ok(expense));
        }