public ActionResult <string> GetSubCategory(string name) { if (string.IsNullOrEmpty(name)) { return(graphQuery.GetCategories()); } else { return(graphQuery.GetSubCategories(name)); } }
public ActionResult <string> GetSubCategory(string name) { if (string.IsNullOrEmpty(name)) { return(graphQuery.GetCategories()); } else { return(graphQuery.GetSubCategories(name)); } }