C# Class iServe.Models.UserNeed

Inheritance: IAuditable
Mostra file Open project: fellowshiptech/ft-iserve

Public Methods

Method Description
GetByUserID ( int userID ) : UserNeedQuery

Gets all the needs that the specified user has expressed interest in.

GetInterestedUsersCount ( int needID ) : int
GetUnratedCommittedUsersCount ( int needID ) : int

Method Details

GetByUserID() public method

Gets all the needs that the specified user has expressed interest in.
public GetByUserID ( int userID ) : UserNeedQuery
userID int /// The user id of the user that expressed interest in a need. ///
return UserNeedQuery

GetInterestedUsersCount() public method

public GetInterestedUsersCount ( int needID ) : int
needID int
return int

GetUnratedCommittedUsersCount() public method

public GetUnratedCommittedUsersCount ( int needID ) : int
needID int
return int