C# Class TeamBins.DataAccess.TeamRepository

Inheritance: TeamBins.DataAccessCore.BaseRepo, ITeamRepository
Mostrar archivo Open project: kshyju/ProjectPlanningTool Class Usage Examples

Public Methods

Method Description
Delete ( int id ) : void
DeleteTeamMemberInvitation ( int id ) : System.Threading.Tasks.Task
GetSubscribers ( int teamId, string notificationTypeCode ) : Task>
GetTeam ( int teamId ) : TeamDto
GetTeam ( string name ) : TeamDto
GetTeamMember ( int teamId, int userId ) : MemberVM
GetTeamMemberInvitation ( string activationCode ) : Task
GetTeamMemberInvitations ( int teamId ) : Task>
GetTeamMembers ( int teamId ) : Task>
GetTeams ( int userId ) : List
SaveDefaultProject ( int userId, int teamId, int selectedProject ) : void
SaveDefaultTeamForUser ( int userId, int teamId ) : void
SaveTeam ( TeamDto team ) : int
SaveTeamMember ( int teamId, int memberId, int createdById ) : void
SaveTeamMemberRequest ( AddTeamMemberRequestVM teamMemberRequest ) : Task
SaveVisibility ( int id, bool isPublic ) : System.Threading.Tasks.Task
TeamRepository ( IConfiguration configuration ) : Dapper

Method Details

Delete() public method

public Delete ( int id ) : void
id int
return void

DeleteTeamMemberInvitation() public method

public DeleteTeamMemberInvitation ( int id ) : System.Threading.Tasks.Task
id int
return System.Threading.Tasks.Task

GetSubscribers() public method

public GetSubscribers ( int teamId, string notificationTypeCode ) : Task>
teamId int
notificationTypeCode string
return Task>

GetTeam() public method

public GetTeam ( int teamId ) : TeamDto
teamId int
return TeamDto

GetTeam() public method

public GetTeam ( string name ) : TeamDto
name string
return TeamDto

GetTeamMember() public method

public GetTeamMember ( int teamId, int userId ) : MemberVM
teamId int
userId int
return MemberVM

GetTeamMemberInvitation() public method

public GetTeamMemberInvitation ( string activationCode ) : Task
activationCode string
return Task

GetTeamMemberInvitations() public method

public GetTeamMemberInvitations ( int teamId ) : Task>
teamId int
return Task>

GetTeamMembers() public method

public GetTeamMembers ( int teamId ) : Task>
teamId int
return Task>

GetTeams() public method

public GetTeams ( int userId ) : List
userId int
return List

SaveDefaultProject() public method

public SaveDefaultProject ( int userId, int teamId, int selectedProject ) : void
userId int
teamId int
selectedProject int
return void

SaveDefaultTeamForUser() public method

public SaveDefaultTeamForUser ( int userId, int teamId ) : void
userId int
teamId int
return void

SaveTeam() public method

public SaveTeam ( TeamDto team ) : int
team TeamDto
return int

SaveTeamMember() public method

public SaveTeamMember ( int teamId, int memberId, int createdById ) : void
teamId int
memberId int
createdById int
return void

SaveTeamMemberRequest() public method

public SaveTeamMemberRequest ( AddTeamMemberRequestVM teamMemberRequest ) : Task
teamMemberRequest AddTeamMemberRequestVM
return Task

SaveVisibility() public method

public SaveVisibility ( int id, bool isPublic ) : System.Threading.Tasks.Task
id int
isPublic bool
return System.Threading.Tasks.Task

TeamRepository() public method

public TeamRepository ( IConfiguration configuration ) : Dapper
configuration IConfiguration
return Dapper