C# Class Blog.Services.Implementation.CommunityService

Inheritance: BaseService, ICommunityService
Show file Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
Add ( Community community ) : Community
CommunityService ( ICommunityLogic communityLogic ) : System.Collections.Generic
Delete ( int communityId ) : 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 ) : Community

Method Details

Add() public method

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

CommunityService() public method

public CommunityService ( ICommunityLogic communityLogic ) : System.Collections.Generic
communityLogic ICommunityLogic
return System.Collections.Generic

Delete() public method

public Delete ( int communityId ) : bool
communityId int
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 ) : Community
community Blog.Common.Contracts.Community
return Blog.Common.Contracts.Community