C# Class TeamBins.DataAccess.IssueRepository

Inheritance: TeamBins.DataAccessCore.BaseRepo, IIssueRepository
Show file Open project: kshyju/ProjectPlanningTool

Public Methods

Method Description
Delete ( int id, int userId ) : void
GetCategories ( ) : Task>
GetDashboardSummaryVM ( int teamId ) : DashBoardItemSummaryVm
GetIssue ( int id, int requestingUserId ) : IssueDetailVM
GetIssueCountsPerPriority ( int teamId ) : Task>
GetIssueCountsPerProject ( int teamId ) : Task>
GetIssueCountsPerStatus ( int teamId ) : Task>
GetIssueMembers ( int issueId ) : Task>
GetIssues ( List statusIds, int count ) : IEnumerable
GetIssuesAssignedToUser ( int userId ) : Task>
GetIssuesGroupedByStatusGroup ( int count, int teamId, int requestingUserId ) : IEnumerable
GetNonIssueMembers ( int issueId, int teamId ) : Task>
GetPriorities ( ) : Task>
GetStatuses ( ) : Task>
IssueRepository ( IConfiguration configuration ) : Dapper
RemoveIssueMember ( int issueId, int userId ) : System.Threading.Tasks.Task
SaveDueDate ( int issueId, System.DateTime dueDate, int userId ) : System.Threading.Tasks.Task
SaveIssue ( CreateIssue issue ) : int
SaveIssueMember ( int issueId, int memberId, int createdById, string relationShipType ) : System.Threading.Tasks.Task
StarIssue ( int issueId, int userId, bool isRequestForToStar ) : System.Threading.Tasks.Task

Private Methods

Method Description
AddIssueMemberRecord ( int issueId, int userId, string type ) : System.Threading.Tasks.Task
DeleteIssueMemberRecord ( int issueId, int userId, string type ) : System.Threading.Tasks.Task

Method Details

Delete() public method

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

GetCategories() public method

public GetCategories ( ) : Task>
return Task>

GetDashboardSummaryVM() public method

public GetDashboardSummaryVM ( int teamId ) : DashBoardItemSummaryVm
teamId int
return TeamBins.Common.ViewModels.DashBoardItemSummaryVm

GetIssue() public method

public GetIssue ( int id, int requestingUserId ) : IssueDetailVM
id int
requestingUserId int
return TeamBins.Common.ViewModels.IssueDetailVM

GetIssueCountsPerPriority() public method

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

GetIssueCountsPerProject() public method

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

GetIssueCountsPerStatus() public method

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

GetIssueMembers() public method

public GetIssueMembers ( int issueId ) : Task>
issueId int
return Task>

GetIssues() public method

public GetIssues ( List statusIds, int count ) : IEnumerable
statusIds List
count int
return IEnumerable

GetIssuesAssignedToUser() public method

public GetIssuesAssignedToUser ( int userId ) : Task>
userId int
return Task>

GetIssuesGroupedByStatusGroup() public method

public GetIssuesGroupedByStatusGroup ( int count, int teamId, int requestingUserId ) : IEnumerable
count int
teamId int
requestingUserId int
return IEnumerable

GetNonIssueMembers() public method

public GetNonIssueMembers ( int issueId, int teamId ) : Task>
issueId int
teamId int
return Task>

GetPriorities() public method

public GetPriorities ( ) : Task>
return Task>

GetStatuses() public method

public GetStatuses ( ) : Task>
return Task>

IssueRepository() public method

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

RemoveIssueMember() public method

public RemoveIssueMember ( int issueId, int userId ) : System.Threading.Tasks.Task
issueId int
userId int
return System.Threading.Tasks.Task

SaveDueDate() public method

public SaveDueDate ( int issueId, System.DateTime dueDate, int userId ) : System.Threading.Tasks.Task
issueId int
dueDate System.DateTime
userId int
return System.Threading.Tasks.Task

SaveIssue() public method

public SaveIssue ( CreateIssue issue ) : int
issue TeamBins.Common.ViewModels.CreateIssue
return int

SaveIssueMember() public method

public SaveIssueMember ( int issueId, int memberId, int createdById, string relationShipType ) : System.Threading.Tasks.Task
issueId int
memberId int
createdById int
relationShipType string
return System.Threading.Tasks.Task

StarIssue() public method

public StarIssue ( int issueId, int userId, bool isRequestForToStar ) : System.Threading.Tasks.Task
issueId int
userId int
isRequestForToStar bool
return System.Threading.Tasks.Task