示例#1
0
        public IEnumerable <ProductView> GetProductsBySupplier(int id)
        {
            var products = suppliersService.GetProductsBySupplier(id);

            return(mapper.Map <IEnumerable <ProductDTO>, IEnumerable <ProductView> >(products));
        }