C# Class Editor.Services.ContentServices

ファイルを表示 Open project: RIATEAM/MYSTIC Class Usage Examples

Public Methods

Method Description
GetContentByID ( int id ) : ContentDTO
GetContents ( ) : IList
SaveContent ( ContentDTO contentDto ) : ContentDTO
SetContentItemid ( int contentId, int itemId, string repository ) : bool
SetStateContent ( int contentId, int state ) : bool

Method Details

GetContentByID() public method

public GetContentByID ( int id ) : ContentDTO
id int
return ContentDTO

GetContents() public method

public GetContents ( ) : IList
return IList

SaveContent() public method

public SaveContent ( ContentDTO contentDto ) : ContentDTO
contentDto ContentDTO
return ContentDTO

SetContentItemid() public method

public SetContentItemid ( int contentId, int itemId, string repository ) : bool
contentId int
itemId int
repository string
return bool

SetStateContent() public method

public SetStateContent ( int contentId, int state ) : bool
contentId int
state int
return bool