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