C# 클래스 Blog.Logic.Core.CommunityLogic

상속: ICommunityLogic
파일 보기 프로젝트 열기: jsnmgpnty/Blogness2.0

공개 메소드들

메소드 설명
Add ( Community community ) : Community
CommunityLogic ( ICommunityRepository communityRepository ) : System
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

비공개 메소드들

메소드 설명
GetCommunityMemberCount ( int communityId ) : int
IsCommunityNameInUse ( string name ) : bool
IsCommunityNameInUse ( string name, int id ) : bool

메소드 상세

Add() 공개 메소드

public Add ( Community community ) : Community
community Blog.Common.Contracts.Community
리턴 Blog.Common.Contracts.Community

CommunityLogic() 공개 메소드

public CommunityLogic ( ICommunityRepository communityRepository ) : System
communityRepository ICommunityRepository
리턴 System

Delete() 공개 메소드

public Delete ( int communityId ) : bool
communityId int
리턴 bool

Get() 공개 메소드

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

GetCreatedByUser() 공개 메소드

public GetCreatedByUser ( int userId ) : List
userId int
리턴 List

GetJoinedByUser() 공개 메소드

public GetJoinedByUser ( int userId ) : List
userId int
리턴 List

GetList() 공개 메소드

public GetList ( ) : List
리턴 List

GetMore() 공개 메소드

public GetMore ( int skip ) : List
skip int
리턴 List

GetMoreCreatedByUser() 공개 메소드

public GetMoreCreatedByUser ( int userId, int skip ) : List
userId int
skip int
리턴 List

GetMoreJoinedByUser() 공개 메소드

public GetMoreJoinedByUser ( int userId, int skip ) : List
userId int
skip int
리턴 List

Update() 공개 메소드

public Update ( Community community ) : Community
community Blog.Common.Contracts.Community
리턴 Blog.Common.Contracts.Community