public async Task AddMovie(int userId, MovieRankRequest movieRankRequest) { //var movieDb = _map.ToMovieDbModel(userId, movieRankRequest); /* * var movieDb = _map.ToDocumentModel(userId, movieRankRequest); * * await _movieRankRepository.AddMovie(movieDb); */ await _movieRankRepository.AddMovie(userId, movieRankRequest); }
public async Task AddMovie(int userId, MovieRankRequest movieRankRequest) { var movieDb = _map.ToMovieDbModel(userId, movieRankRequest); await _movieRankRepository.AddMovie(movieDb); }
public async Task AddMovie(int userId, MovieRankRequest addRequest) { var documentModel = _map.ToDocumentModel(userId, addRequest); await _movieRankRepository.AddMovie(documentModel); }
public async Task AddMovie(int userId, MovieRankRequest movieRankRequest) { var movieDb = _mapper.ToMovieContract(userId, movieRankRequest); await _movieRankRepository.AddMovie(movieDb); }
public async Task AddMovie(int userId, MovieRankRequest movieRankRequest, CancellationToken cancellationToken) { await _movieRankRepository.AddMovie(userId, movieRankRequest, cancellationToken); }
public async Task AddMovie(int userId, MovieRankRequest movieRankRequest) { await movieRankRepository.AddMovie(userId, movieRankRequest); }