public MaterialQuery(EC3Service ec3Service) { Field <ListGraphType <MaterialType> >( "materials", "Query for all materials from EC3", resolve: context => ec3Service.GetAllMaterials() ); }
public ActionResult <IEnumerable <string> > Get() { EC3Service ec3Service = new EC3Service(); return(new string[] { /*ec3Service.GetAllMaterials()*/ "", "" }); }