C# Class Blog.Services.Helpers.Rest.CommunityRestResource

Inheritance: ICommunityRestResource
Show file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Community community, string authenticationToken ) : Community
Delete ( int communityId, string authenticationToken ) : bool
Get ( int communityId ) : Community
GetCreatedByUser ( int userId ) : List
GetJoinedByUser ( int userId ) : List
GetList ( ) : List
GetMore ( int skip ) : List
GetMoreCreatedByUser ( int userId, int skip ) : List
GetMoreJoinedByUser ( int userId, int skip ) : List
Update ( Community community, string authenticationToken ) : Community

Method Details

Add() public method

public Add ( Community community, string authenticationToken ) : Community
community Blog.Common.Contracts.Community
authenticationToken string
return Blog.Common.Contracts.Community

Delete() public method

public Delete ( int communityId, string authenticationToken ) : bool
communityId int
authenticationToken string
return bool

Get() public method

public Get ( int communityId ) : Community
communityId int
return Blog.Common.Contracts.Community

GetCreatedByUser() public method

public GetCreatedByUser ( int userId ) : List
userId int
return List

GetJoinedByUser() public method

public GetJoinedByUser ( int userId ) : List
userId int
return List

GetList() public method

public GetList ( ) : List
return List

GetMore() public method

public GetMore ( int skip ) : List
skip int
return List

GetMoreCreatedByUser() public method

public GetMoreCreatedByUser ( int userId, int skip ) : List
userId int
skip int
return List

GetMoreJoinedByUser() public method

public GetMoreJoinedByUser ( int userId, int skip ) : List
userId int
skip int
return List

Update() public method

public Update ( Community community, string authenticationToken ) : Community
community Blog.Common.Contracts.Community
authenticationToken string
return Blog.Common.Contracts.Community