C# 클래스 Saimoe.Core.ContestantService

@author: Tsinghua . @description: Manage all business relate to contestant
파일 보기 프로젝트 열기: quietlynn/gplus.saimoe 1 사용 예제들

공개 메소드들

메소드 설명
AddContestant ( Contestant contestant ) : void

Add a contestant to database

ContestantService ( ContestantRepository contestantRepository = null ) : System
GetContestant ( string googlePlusId ) : Contestant

Get contestant registration info by given google plus id

UpdateContestantProfile ( string googlePlusId, Profile profile ) : void

Update profile of contestant

메소드 상세

AddContestant() 공개 메소드

Add a contestant to database
public AddContestant ( Contestant contestant ) : void
contestant Saimoe.Models.Contestant
리턴 void

ContestantService() 공개 메소드

public ContestantService ( ContestantRepository contestantRepository = null ) : System
contestantRepository Saimoe.Repository.ContestantRepository
리턴 System

GetContestant() 공개 메소드

Get contestant registration info by given google plus id
public GetContestant ( string googlePlusId ) : Contestant
googlePlusId string
리턴 Saimoe.Models.Contestant

UpdateContestantProfile() 공개 메소드

Update profile of contestant
public UpdateContestantProfile ( string googlePlusId, Profile profile ) : void
googlePlusId string
profile Saimoe.Models.Profile
리턴 void