Exemplo n.º 1
0
        public Product GetSingleProduct(string productType)
        {
            IProductRepository productRepo = RepoFactory.CreateProductRepo();

            Product product = productRepo.GetSingleProduct(productType);

            return(product);
        }
Exemplo n.º 2
0
        public State GetSingleState(string stateAbbreviation)
        {
            IStateRepository stateRepo = RepoFactory.CreateStateRepo();

            State state = stateRepo.GetSingleState(stateAbbreviation);

            return(state);
        }