public Task <Pr0grammResponse> Vote(IPr0grammComment comment, Vote absoluteVote) { if (comment == null) { throw new ArgumentNullException(nameof(comment)); } return(Vote(comment.Id, absoluteVote)); }
public Task <Pr0grammResponse> Edit(IPr0grammComment comment, string newContent) { if (comment == null) { throw new ArgumentNullException(nameof(comment)); } return(Edit(comment.Id, newContent)); }
public Task <Pr0grammResponse> SoftDelete(IPr0grammComment comment, string reason) { if (comment == null) { throw new ArgumentNullException(nameof(comment)); } return(SoftDelete(comment.Id, reason)); }
public Task<Pr0grammResponse> Vote(IPr0grammComment comment, Vote absoluteVote) { if (comment == null) throw new ArgumentNullException(nameof(comment)); return Vote(comment.Id, absoluteVote); }
public Task<Pr0grammResponse> Edit(IPr0grammComment comment, string newContent) { if (comment == null) throw new ArgumentNullException(nameof(comment)); return Edit(comment.Id, newContent); }
public Task<Pr0grammResponse> SoftDelete(IPr0grammComment comment, string reason) { if (comment == null) throw new ArgumentNullException(nameof(comment)); return SoftDelete(comment.Id, reason); }