public Product GetSingleProduct(string productType) { IProductRepository productRepo = RepoFactory.CreateProductRepo(); Product product = productRepo.GetSingleProduct(productType); return(product); }
public State GetSingleState(string stateAbbreviation) { IStateRepository stateRepo = RepoFactory.CreateStateRepo(); State state = stateRepo.GetSingleState(stateAbbreviation); return(state); }