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

Inheritance: IReportService
Mostra file Open project: skimur/skimur

Public Methods

Method 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 method

public GetReportsForComment ( System.Guid commentId ) : List
commentId System.Guid
return List

GetReportsForPost() public method

public GetReportsForPost ( System.Guid postId ) : List
postId System.Guid
return List

RemoveReportsForComment() public method

public RemoveReportsForComment ( System.Guid commentId ) : void
commentId System.Guid
return void

RemoveReportsForPost() public method

public RemoveReportsForPost ( System.Guid postId ) : void
postId System.Guid
return void

ReportComment() public method

public ReportComment ( System.Guid commentId, System.Guid reportBy, string reason ) : void
commentId System.Guid
reportBy System.Guid
reason string
return void

ReportPost() public method

public ReportPost ( System.Guid postId, System.Guid reportBy, string reason ) : void
postId System.Guid
reportBy System.Guid
reason string
return void

ReportService() public method

public ReportService ( IDbConnectionProvider connectionProvider ) : System
connectionProvider IDbConnectionProvider
return System