C# Class Skimur.App.Services.Impl.ReportService

Inheritance: IReportService
Afficher le fichier Open project: skimur/skimur

Méthodes publiques

Méthode Description
GetReportsForComment ( System.Guid commentId ) : List
GetReportsForPost ( System.Guid postId ) : List
RemoveReportsForComment ( System.Guid commentId ) : void
RemoveReportsForPost ( System.Guid postId ) : void
ReportComment ( System.Guid commentId, System.Guid reportBy, string reason ) : void
ReportPost ( System.Guid postId, System.Guid reportBy, string reason ) : void
ReportService ( IDbConnectionProvider connectionProvider ) : System

Method Details

GetReportsForComment() public méthode

public GetReportsForComment ( System.Guid commentId ) : List
commentId System.Guid
Résultat List

GetReportsForPost() public méthode

public GetReportsForPost ( System.Guid postId ) : List
postId System.Guid
Résultat List

RemoveReportsForComment() public méthode

public RemoveReportsForComment ( System.Guid commentId ) : void
commentId System.Guid
Résultat void

RemoveReportsForPost() public méthode

public RemoveReportsForPost ( System.Guid postId ) : void
postId System.Guid
Résultat void

ReportComment() public méthode

public ReportComment ( System.Guid commentId, System.Guid reportBy, string reason ) : void
commentId System.Guid
reportBy System.Guid
reason string
Résultat void

ReportPost() public méthode

public ReportPost ( System.Guid postId, System.Guid reportBy, string reason ) : void
postId System.Guid
reportBy System.Guid
reason string
Résultat void

ReportService() public méthode

public ReportService ( IDbConnectionProvider connectionProvider ) : System
connectionProvider IDbConnectionProvider
Résultat System