public override void AddMutations(RootGraphQLMutation rootMutation)
 {
     rootMutation.AddGenericMutationAsync <ContactRootMutation, Contact>  ("contact", this._contactResolver);
     rootMutation.AddGenericMutationAsync <SpeciesRootMutation, Species>  ("species", this._speciesResolver);
     rootMutation.AddGenericMutationAsync <BreedRootMutation, Breed>      ("breed", this._breedResolver);
     rootMutation.AddGenericMutationAsync <LocationRootMutation, Location>("location", this._locationResolver);
 }
Пример #2
0
 public override void AddMutations(RootGraphQLMutation rootMutation)
 {
     rootMutation.AddGenericMutationAsync <UserRootMutation, DataAccessUserContext>("user", this._resolver);
 }