public async Task DeleteMovie(DeleteMovieInput input) { await _movieRepository.DeleteAsync(input.Id); }
// sample use: /*mutation { * createCompany(inputCompany: { * name: "Tnuva", * revenue: 210000 * }) * { * id * name * revenue * } * } */ //test public Movie DeleteMovie(DeleteMovieInput inputMovie) { return(_movieService.Delete(inputMovie)); }