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