public async Task <IssueDto> UpdateIssueAsync(ApplicationUser user, long projectId, long issueId, string name, string description, bool closed, Status status, CancellationToken cancellationToken = default) { var issue = await _issuesService.UpdateIssueAsync(user, projectId, issueId, name, description, closed, status, cancellationToken); return(issue == null ? null : _mapper.Map <IssueDto>(issue)); }