Exemplo n.º 1
0
 public Task <Pr0grammResponse> Vote(IPr0grammComment comment, Vote absoluteVote)
 {
     if (comment == null)
     {
         throw new ArgumentNullException(nameof(comment));
     }
     return(Vote(comment.Id, absoluteVote));
 }
Exemplo n.º 2
0
 public Task <Pr0grammResponse> Edit(IPr0grammComment comment, string newContent)
 {
     if (comment == null)
     {
         throw new ArgumentNullException(nameof(comment));
     }
     return(Edit(comment.Id, newContent));
 }
Exemplo n.º 3
0
 public Task <Pr0grammResponse> SoftDelete(IPr0grammComment comment, string reason)
 {
     if (comment == null)
     {
         throw new ArgumentNullException(nameof(comment));
     }
     return(SoftDelete(comment.Id, reason));
 }
Exemplo n.º 4
0
 public Task<Pr0grammResponse> Vote(IPr0grammComment comment, Vote absoluteVote)
 {
     if (comment == null)
         throw new ArgumentNullException(nameof(comment));
     return Vote(comment.Id, absoluteVote);
 }
Exemplo n.º 5
0
 public Task<Pr0grammResponse> Edit(IPr0grammComment comment, string newContent)
 {
     if (comment == null)
         throw new ArgumentNullException(nameof(comment));
     return Edit(comment.Id, newContent);
 }
Exemplo n.º 6
0
 public Task<Pr0grammResponse> SoftDelete(IPr0grammComment comment, string reason)
 {
     if (comment == null)
         throw new ArgumentNullException(nameof(comment));
     return SoftDelete(comment.Id, reason);
 }