Esempio n. 1
0
        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);
 }
Esempio n. 3
0
 public async Task ReportUser(string profileId, ReportProfileReason reason)
 {
     await _profilesClient.ReportProfile(profileId, reason);
 }