C# 클래스 ServerModule.ServiceCTS

상속: IServiceCTS
파일 보기 프로젝트 열기: VlasyukTanya/CTS

공개 메소드들

메소드 설명
AuthenticateUser ( string username, string password ) : bool
DrawQuestionById ( int questionId ) : string
GetAnswersDataTableByQuestionId ( int questionId ) : DataTable
GetGroupsDataTable ( ) : DataTable
GetQuestionById ( int questionId ) : Question
GetQuestionsDataTableByTestId ( int testId ) : DataTable
GetSubjectsDataTable ( ) : DataTable
GetTestsDataTableBySubjectId ( int subjectId ) : DataTable
GetTestsForUser ( int userId ) : DataTable
GetTutorsDataTable ( ) : DataTable
GetUsersCount ( ) : int
GetUsersDataTable ( ) : DataTable
IIsLifeGood ( ) : bool
addGroup ( string name_group ) : void
addSubject ( string name_subject ) : void
addTutor ( string name, string passwd, string realName, string email, AdditionalContacts additionalContacts, int roleId, int groupId ) : void
addUser ( string name, string passwd, string realName, string email, int roleId, int groupId ) : void
addUserTest ( int id_user, int id_test, int numberOfTries, float mark, bool ifAvailable, System.DateTime testTime, bool canSkip, bool canBack, int testContinuesTime ) : void
delUser ( int id ) : void
deleteGroup ( int id_group ) : void
deleteSubject ( int id_subject ) : void
updateGroup ( int id_group, string name_group ) : void
updateSubject ( int id_subject, string name_subject ) : void
updateTutor ( int id, string name, string passwd, string realName, string email, AdditionalContacts additionalContacts, string registrationDate, int roleId, int groupId ) : User

메소드 상세

AuthenticateUser() 공개 메소드

public AuthenticateUser ( string username, string password ) : bool
username string
password string
리턴 bool

DrawQuestionById() 공개 메소드

public DrawQuestionById ( int questionId ) : string
questionId int
리턴 string

GetAnswersDataTableByQuestionId() 공개 메소드

public GetAnswersDataTableByQuestionId ( int questionId ) : DataTable
questionId int
리턴 System.Data.DataTable

GetGroupsDataTable() 공개 메소드

public GetGroupsDataTable ( ) : DataTable
리턴 System.Data.DataTable

GetQuestionById() 공개 메소드

public GetQuestionById ( int questionId ) : Question
questionId int
리턴 DBLibrary.Question

GetQuestionsDataTableByTestId() 공개 메소드

public GetQuestionsDataTableByTestId ( int testId ) : DataTable
testId int
리턴 System.Data.DataTable

GetSubjectsDataTable() 공개 메소드

public GetSubjectsDataTable ( ) : DataTable
리턴 System.Data.DataTable

GetTestsDataTableBySubjectId() 공개 메소드

public GetTestsDataTableBySubjectId ( int subjectId ) : DataTable
subjectId int
리턴 System.Data.DataTable

GetTestsForUser() 공개 메소드

public GetTestsForUser ( int userId ) : DataTable
userId int
리턴 System.Data.DataTable

GetTutorsDataTable() 공개 메소드

public GetTutorsDataTable ( ) : DataTable
리턴 System.Data.DataTable

GetUsersCount() 공개 메소드

public GetUsersCount ( ) : int
리턴 int

GetUsersDataTable() 공개 메소드

public GetUsersDataTable ( ) : DataTable
리턴 System.Data.DataTable

IIsLifeGood() 공개 메소드

public IIsLifeGood ( ) : bool
리턴 bool

addGroup() 공개 메소드

public addGroup ( string name_group ) : void
name_group string
리턴 void

addSubject() 공개 메소드

public addSubject ( string name_subject ) : void
name_subject string
리턴 void

addTutor() 공개 메소드

public addTutor ( string name, string passwd, string realName, string email, AdditionalContacts additionalContacts, int roleId, int groupId ) : void
name string
passwd string
realName string
email string
additionalContacts DBLibrary.AdditionalContacts
roleId int
groupId int
리턴 void

addUser() 공개 메소드

public addUser ( string name, string passwd, string realName, string email, int roleId, int groupId ) : void
name string
passwd string
realName string
email string
roleId int
groupId int
리턴 void

addUserTest() 공개 메소드

public addUserTest ( int id_user, int id_test, int numberOfTries, float mark, bool ifAvailable, System.DateTime testTime, bool canSkip, bool canBack, int testContinuesTime ) : void
id_user int
id_test int
numberOfTries int
mark float
ifAvailable bool
testTime System.DateTime
canSkip bool
canBack bool
testContinuesTime int
리턴 void

delUser() 공개 메소드

public delUser ( int id ) : void
id int
리턴 void

deleteGroup() 공개 메소드

public deleteGroup ( int id_group ) : void
id_group int
리턴 void

deleteSubject() 공개 메소드

public deleteSubject ( int id_subject ) : void
id_subject int
리턴 void

updateGroup() 공개 메소드

public updateGroup ( int id_group, string name_group ) : void
id_group int
name_group string
리턴 void

updateSubject() 공개 메소드

public updateSubject ( int id_subject, string name_subject ) : void
id_subject int
name_subject string
리턴 void

updateTutor() 공개 메소드

public updateTutor ( int id, string name, string passwd, string realName, string email, AdditionalContacts additionalContacts, string registrationDate, int roleId, int groupId ) : User
id int
name string
passwd string
realName string
email string
additionalContacts DBLibrary.AdditionalContacts
registrationDate string
roleId int
groupId int
리턴 DBLibrary.User