public async Task ReportProfile(string profileId, ReportProfileReason reason) { var url = string.Format(Profiles_Report_Url, profileId); var body = new { profileId = profileId, reportReason = reason }; var json = JsonConvert.SerializeObject(body); await Send(HttpMethod.Post, url, json); }
public async Task ReportProfile(string profileId, ReportProfileReason reason) { await _profilesRepository.ReportProfile(profileId, (int)reason); }
public async Task ReportUser(string profileId, ReportProfileReason reason) { await _profilesClient.ReportProfile(profileId, reason); }