C# Класс TeamBins.Services.IssueManager

Наследование: IIssueManager
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
IsImageType ( string fileExtension ) : bool

Описание методов

Delete() публичный Метод

public Delete ( int id ) : void
id int
Результат void

GetDashboardSummaryVM() публичный Метод

public GetDashboardSummaryVM ( int teamId ) : DashBoardItemSummaryVm
teamId int
Результат TeamBins.Common.ViewModels.DashBoardItemSummaryVm

GetIssue() публичный Метод

public GetIssue ( int id ) : Task
id int
Результат Task

GetIssueMembers() публичный Метод

public GetIssueMembers ( int issueId ) : Task>
issueId int
Результат Task>

GetIssues() публичный Метод

public GetIssues ( List statusIds, int count ) : IEnumerable
statusIds List
count int
Результат IEnumerable

GetIssuesAssignedToUser() публичный Метод

public GetIssuesAssignedToUser ( int userId ) : Task>
userId int
Результат Task>

GetIssuesGroupedByStatusGroup() публичный Метод

public GetIssuesGroupedByStatusGroup ( int teamId, int count ) : IEnumerable
teamId int
count int
Результат IEnumerable

GetNonIssueMembers() публичный Метод

public GetNonIssueMembers ( int issueId ) : Task>
issueId int
Результат Task>

IssueManager() публичный Метод

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
Результат Microsoft.AspNetCore.Http

LoadDropdownData() публичный Метод

public LoadDropdownData ( CreateIssue issue ) : System.Threading.Tasks.Task
issue TeamBins.Common.ViewModels.CreateIssue
Результат System.Threading.Tasks.Task

RemoveIssueMember() публичный Метод

public RemoveIssueMember ( int issueId, int memberId ) : System.Threading.Tasks.Task
issueId int
memberId int
Результат System.Threading.Tasks.Task

SaveActivity() публичный Метод

public SaveActivity ( CreateIssue model, IssueDetailVM previousVersion, IssueDetailVM newVersion ) : ActivityDto
model TeamBins.Common.ViewModels.CreateIssue
previousVersion TeamBins.Common.ViewModels.IssueDetailVM
newVersion TeamBins.Common.ViewModels.IssueDetailVM
Результат TeamBins.Common.ViewModels.ActivityDto

SaveDueDate() публичный Метод

public SaveDueDate ( int issueId, System.DateTime dueDate ) : System.Threading.Tasks.Task
issueId int
dueDate System.DateTime
Результат System.Threading.Tasks.Task

SaveIssue() публичный Метод

public SaveIssue ( CreateIssue issue, List files ) : Task
issue TeamBins.Common.ViewModels.CreateIssue
files List
Результат Task

SaveIssueAssignee() публичный Метод

public SaveIssueAssignee ( int issueId, int userId ) : System.Threading.Tasks.Task
issueId int
userId int
Результат System.Threading.Tasks.Task

StarIssue() публичный Метод

public StarIssue ( int issueId, int userId, bool isRequestForToStar ) : System.Threading.Tasks.Task
issueId int
userId int
isRequestForToStar bool
Результат System.Threading.Tasks.Task

StarIssue() публичный Метод

public StarIssue ( int issueId ) : Task
issueId int
Результат Task