Esempio n. 1
0
        public async Task <List <BorrowDto> > GetByUserId(Guid userId)
        {
            var borrows = await _borrowRepository.GetByUserId(userId);

            return(_mapper.Map <List <Borrow>, List <BorrowDto> >(borrows));
        }