public ProductDependency GetDependencyDetails() { ProductDependency dependency = new ProductDependency(); dependency.Categories = productCategoryLogic.GetAll(); dependency.Features = featureLogic.GetFeatureList(); return(dependency); }
public IHttpActionResult GetAllFeatures() { return(Ok(logic.GetFeatureList())); }