C# Класс Skimur.App.Services.Impl.ReportService

Наследование: IReportService
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

GetReportsForComment() публичный Метод

public GetReportsForComment ( System.Guid commentId ) : List
commentId System.Guid
Результат List

GetReportsForPost() публичный Метод

public GetReportsForPost ( System.Guid postId ) : List
postId System.Guid
Результат List

RemoveReportsForComment() публичный Метод

public RemoveReportsForComment ( System.Guid commentId ) : void
commentId System.Guid
Результат void

RemoveReportsForPost() публичный Метод

public RemoveReportsForPost ( System.Guid postId ) : void
postId System.Guid
Результат void

ReportComment() публичный Метод

public ReportComment ( System.Guid commentId, System.Guid reportBy, string reason ) : void
commentId System.Guid
reportBy System.Guid
reason string
Результат void

ReportPost() публичный Метод

public ReportPost ( System.Guid postId, System.Guid reportBy, string reason ) : void
postId System.Guid
reportBy System.Guid
reason string
Результат void

ReportService() публичный Метод

public ReportService ( IDbConnectionProvider connectionProvider ) : System
connectionProvider IDbConnectionProvider
Результат System