public async Task AddSuggestion(string videoId, string songId, Guid modeId, Guid userId) { var psm = new PostSuggestionModel { ModeId = modeId, SongId = songId, UserId = userId, VideoId = videoId }; var res = await _restClientWrapper.PostAsync_HttpResponse(psm, "Suggestion"); }
public async Task Post([FromBody] PostSuggestionModel postSuggestionModel) { await m_suggestionHandlerService.AddSuggestion(postSuggestionModel.VideoId, postSuggestionModel.SongId, postSuggestionModel.ModeId, postSuggestionModel.UserId); }