예제 #1
0
        internal Transaction GetById(int id, string userId)
        {
            Transaction foundTransaction = _repo.GetById(id, userId);

            if (foundTransaction == null)
            {
                throw new Exception("Invalid ID/User ID");
            }
            return(foundTransaction);
        }