public List <CatColors> GetProductColors()
        {
            var productColor = _context.eumc1_getProductColors().ToList();

            return(Assist.Convert <List <eumc1_getProductColors_Result>, List <CatColors> >(productColor));
        }
        public List <ProductEntity> GetProducts()
        {
            var products = _context.eumc1_getProducts().ToList();

            return(Assist.Convert <List <eumc1_getProducts_Result>, List <ProductEntity> >(products));
        }
        public List <ProductEntity> GetProductByIdOrName(int?id, string name)
        {
            var productObject = _context.eumc1_getProductByIdOrName(id, name).ToList();

            return(Assist.Convert <List <eumc1_getProductByIdOrName_Result>, List <ProductEntity> >(productObject));
        }
Beispiel #4
0
        public List <ProviderEntity> GetAllProviders()
        {
            var productObject = _context.eumc1_getAllProviders().ToList();

            return(Assist.Convert <List <eumc1_getAllProviders_Result>, List <ProviderEntity> >(productObject));
        }