C# Класс Blog.Services.Implementation.PostContentsService

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

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

Метод Описание
Add ( PostContent postImage ) : PostContent
Delete ( int postContentId ) : bool
Get ( int postContentId ) : PostContent
GetByPostId ( int postId ) : List
PostContentsService ( IPostContentsLogic postsContentsLogic ) : System.Collections.Generic

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

Add() публичный метод

public Add ( PostContent postImage ) : PostContent
postImage Blog.Common.Contracts.PostContent
Результат Blog.Common.Contracts.PostContent

Delete() публичный метод

public Delete ( int postContentId ) : bool
postContentId int
Результат bool

Get() публичный метод

public Get ( int postContentId ) : PostContent
postContentId int
Результат Blog.Common.Contracts.PostContent

GetByPostId() публичный метод

public GetByPostId ( int postId ) : List
postId int
Результат List

PostContentsService() публичный метод

public PostContentsService ( IPostContentsLogic postsContentsLogic ) : System.Collections.Generic
postsContentsLogic IPostContentsLogic
Результат System.Collections.Generic