Beispiel #1
0
        public ProductModelResponse GetProduct(ProductModelRequest entity)
        {
            try
            {
                ProductEntity product = productRepository.GetProduct(entity.ProductId);

                return(product.MapTo <ProductModelResponse>());
            }
            catch (Exception)
            {
                return(null);
            }
        }