예제 #1
0
 public IEnumerable <TransactionViewModel> GetByUserId(string userId)
 {
     return(_wheelService.GetTransactionsByUserId(userId).Select(x => TransformModels.ToTransactionViewModel(x)));
 }
예제 #2
0
 public IEnumerable <TransactionViewModel> GetAll()
 {
     return(_wheelService.GetAllTransactions().Select(x => TransformModels.ToTransactionViewModel(x)));
 }