C# 클래스 HaloShare.Services.GameTypeService

상속: BaseService
파일 보기 프로젝트 열기: ElDewrito/HaloShare

공개 메소드들

메소드 설명
AddVariant ( Models variant ) : void
GetByInternalId ( int id ) : Models.GameType
GetType ( int id ) : Models.GameType
GetTypeSelectlist ( int typeId ) : IEnumerable
GetTypes ( ) : IEnumerable
GetVariant ( int id ) : Models.GameTypeVariant
GetVariants ( int gameTypeId ) : IEnumerable
Rate ( int id, int userId, int value ) : ViewModels.RateResponse
Reply ( ViewModels model, int userId ) : int
SearchVariants ( string q, string orderBy, bool asc, int typeId, bool staffPick, int authorId, bool hideDeleted = true ) : IEnumerable
ValidateHash ( string md5Hash ) : Models.GameTypeVariant

메소드 상세

AddVariant() 공개 메소드

public AddVariant ( Models variant ) : void
variant Models
리턴 void

GetByInternalId() 공개 메소드

public GetByInternalId ( int id ) : Models.GameType
id int
리턴 Models.GameType

GetType() 공개 메소드

public GetType ( int id ) : Models.GameType
id int
리턴 Models.GameType

GetTypeSelectlist() 공개 메소드

public GetTypeSelectlist ( int typeId ) : IEnumerable
typeId int
리턴 IEnumerable

GetTypes() 공개 메소드

public GetTypes ( ) : IEnumerable
리턴 IEnumerable

GetVariant() 공개 메소드

public GetVariant ( int id ) : Models.GameTypeVariant
id int
리턴 Models.GameTypeVariant

GetVariants() 공개 메소드

public GetVariants ( int gameTypeId ) : IEnumerable
gameTypeId int
리턴 IEnumerable

Rate() 공개 메소드

public Rate ( int id, int userId, int value ) : ViewModels.RateResponse
id int
userId int
value int
리턴 ViewModels.RateResponse

Reply() 공개 메소드

public Reply ( ViewModels model, int userId ) : int
model ViewModels
userId int
리턴 int

SearchVariants() 공개 메소드

public SearchVariants ( string q, string orderBy, bool asc, int typeId, bool staffPick, int authorId, bool hideDeleted = true ) : IEnumerable
q string
orderBy string
asc bool
typeId int
staffPick bool
authorId int
hideDeleted bool
리턴 IEnumerable

ValidateHash() 공개 메소드

public ValidateHash ( string md5Hash ) : Models.GameTypeVariant
md5Hash string
리턴 Models.GameTypeVariant