C# Class TeamBins.Services.IssueManager

Inheritance: IIssueManager
Mostra file Open project: kshyju/ProjectPlanningTool Class Usage Examples

Public Methods

Method Description
Delete ( int id ) : void
GetDashboardSummaryVM ( int teamId ) : DashBoardItemSummaryVm
GetIssue ( int id ) : Task
GetIssueMembers ( int issueId ) : Task>
GetIssues ( List statusIds, int count ) : IEnumerable
GetIssuesAssignedToUser ( int userId ) : Task>
GetIssuesGroupedByStatusGroup ( int teamId, int count ) : IEnumerable
GetNonIssueMembers ( int issueId ) : Task>
IssueManager ( IIssueRepository issueRepository, IProjectRepository iProjectRepository, IActivityRepository activityRepository, IUserAuthHelper userSessionHelper, ICache cache, IUploadRepository uploadRepository, IEmailManager emailManager ) : Microsoft.AspNetCore.Http
LoadDropdownData ( CreateIssue issue ) : System.Threading.Tasks.Task
RemoveIssueMember ( int issueId, int memberId ) : System.Threading.Tasks.Task
SaveActivity ( CreateIssue model, IssueDetailVM previousVersion, IssueDetailVM newVersion ) : ActivityDto
SaveDueDate ( int issueId, System.DateTime dueDate ) : System.Threading.Tasks.Task
SaveIssue ( CreateIssue issue, List files ) : Task
SaveIssueAssignee ( int issueId, int userId ) : System.Threading.Tasks.Task
StarIssue ( int issueId, int userId, bool isRequestForToStar ) : System.Threading.Tasks.Task
StarIssue ( int issueId ) : Task

Private Methods

Method Description
IsImageType ( string fileExtension ) : bool

Method Details

Delete() public method

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

GetDashboardSummaryVM() public method

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

GetIssue() public method

public GetIssue ( int id ) : Task
id 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 teamId, int count ) : IEnumerable
teamId int
count int
return IEnumerable

GetNonIssueMembers() public method

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

IssueManager() public method

public IssueManager ( IIssueRepository issueRepository, IProjectRepository iProjectRepository, IActivityRepository activityRepository, IUserAuthHelper userSessionHelper, ICache cache, IUploadRepository uploadRepository, IEmailManager emailManager ) : Microsoft.AspNetCore.Http
issueRepository IIssueRepository
iProjectRepository IProjectRepository
activityRepository IActivityRepository
userSessionHelper IUserAuthHelper
cache ICache
uploadRepository IUploadRepository
emailManager IEmailManager
return Microsoft.AspNetCore.Http

LoadDropdownData() public method

public LoadDropdownData ( CreateIssue issue ) : System.Threading.Tasks.Task
issue TeamBins.Common.ViewModels.CreateIssue
return System.Threading.Tasks.Task

RemoveIssueMember() public method

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

SaveActivity() public method

public SaveActivity ( CreateIssue model, IssueDetailVM previousVersion, IssueDetailVM newVersion ) : ActivityDto
model TeamBins.Common.ViewModels.CreateIssue
previousVersion TeamBins.Common.ViewModels.IssueDetailVM
newVersion TeamBins.Common.ViewModels.IssueDetailVM
return TeamBins.Common.ViewModels.ActivityDto

SaveDueDate() public method

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

SaveIssue() public method

public SaveIssue ( CreateIssue issue, List files ) : Task
issue TeamBins.Common.ViewModels.CreateIssue
files List
return Task

SaveIssueAssignee() public method

public SaveIssueAssignee ( int issueId, int userId ) : System.Threading.Tasks.Task
issueId int
userId int
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

StarIssue() public method

public StarIssue ( int issueId ) : Task
issueId int
return Task