Esempio n. 1
0
 public async Task <Recipe> InsertRecipe(
     [Service] IMutationService mutationService,
     [Service] IEventSender eventSender,
     InsertRecipeInput recipeInput)
 {
     return(await mutationService.InsertRecipe(recipeInput, eventSender));
 }
Esempio n. 2
0
 public MutationsController(IMutationService mutationService)
 {
     _mutationService = mutationService;
 }
Esempio n. 3
0
 public async Task <User> UpdateUser([Service] IMutationService mutationService, UpdateUserInput updateUserInput)
 {
     return(await mutationService.UpdateUser(updateUserInput));
 }
Esempio n. 4
0
 public async Task <User> InsertUser([Service] IMutationService mutationService, InsertUserInput userInput)
 {
     return(await mutationService.InsertUser(userInput));
 }