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