public async Task <Quote> GetQuoteAsync(int quoteId) { var QuoteEntity = await QuotesRepository.GetQuoteAsync(quoteId); if (QuoteEntity == null) { throw new NotFoundItemException("Product not found"); } return(mapper.Map <Quote>(QuoteEntity)); }