public async Task DeleteSubmissionAsync(int submissionId) { var request = new BasicSubmissionRequest(submissionId); var response = await RequestAsync <BaseResponse>("delsubmission", new KeyValueCollection(request) { ["sid"] = Session.SessionId, }); response.EnsureSuccess(); }
public async Task GetSubmissionFavingUsersAsync(Submission submission) { var request = new BasicSubmissionRequest(submission.Id); var response = await RequestAsync <FavingUsersResponse>("submissionfavingusers", new KeyValueCollection(request) { ["sid"] = Session.SessionId, }); response.EnsureSuccess(); submission.FavingUsers = response.FavingUsers; }