コード例 #1
0
 public MaterialQuery(EC3Service ec3Service)
 {
     Field <ListGraphType <MaterialType> >(
         "materials", "Query for all materials from EC3",
         resolve: context => ec3Service.GetAllMaterials()
         );
 }
コード例 #2
0
        public ActionResult <IEnumerable <string> > Get()
        {
            EC3Service ec3Service = new EC3Service();

            return(new string[] { /*ec3Service.GetAllMaterials()*/ "", "" });
        }