C# Class Data.TestersDBManager

Show file Open project: TelerikAcademy/QA-Academy

Public Methods

Method Description
Delete ( int testerId ) : void
GetAllTesters ( ) : IEnumerable
GetTesterByTesterId ( int testerId ) : Tester
GetTesterByUsername ( string username ) : Tester
GetTesters ( int page, int pageSize, bool asc, string sortExpression, int &itemsCount ) : IEnumerable
Insert ( Tester tester ) : int
NumberFoundBugs ( int testerId ) : int
NumberParticipatingProjects ( int testerId ) : int
Update ( Tester tester ) : void

Method Details

Delete() public static method

public static Delete ( int testerId ) : void
testerId int
return void

GetAllTesters() public static method

public static GetAllTesters ( ) : IEnumerable
return IEnumerable

GetTesterByTesterId() public static method

public static GetTesterByTesterId ( int testerId ) : Tester
testerId int
return Tester

GetTesterByUsername() public static method

public static GetTesterByUsername ( string username ) : Tester
username string
return Tester

GetTesters() public static method

public static GetTesters ( int page, int pageSize, bool asc, string sortExpression, int &itemsCount ) : IEnumerable
page int
pageSize int
asc bool
sortExpression string
itemsCount int
return IEnumerable

Insert() public static method

public static Insert ( Tester tester ) : int
tester Tester
return int

NumberFoundBugs() public static method

public static NumberFoundBugs ( int testerId ) : int
testerId int
return int

NumberParticipatingProjects() public static method

public static NumberParticipatingProjects ( int testerId ) : int
testerId int
return int

Update() public static method

public static Update ( Tester tester ) : void
tester Tester
return void