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