public async void LoanBook([FromBody] LoanModel loanModel)
        {
            CarteDTO book = await service.GetBookByIdAsync(loanModel.bookId);

            CititorDTO reader = await readerService.GetReaderByEmailAsync(loanModel.readerEmail);

            await loanService.LoanBookAsync(book, reader, DateTime.Now, DateTime.Now.AddDays(30));
        }
        public async Task <bool> IsReaderTrustworth([FromBody] ReaderModel model)
        {
            CititorDTO cititor = await readerService.GetReaderByEmailAsync(model.email);

            return(await readerService.IsReaderTrustworthyAsync(cititor));
        }