Beispiel #1
0
        public Product GetSingleProduct(string productType)
        {
            IProductRepository productRepo = RepoFactory.CreateProductRepo();

            Product product = productRepo.GetSingleProduct(productType);

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

            State state = stateRepo.GetSingleState(stateAbbreviation);

            return(state);
        }