public override void DetermineNewIssueOrder(bool previousItem, int prevItemId, int nextItemId, ref Issue issue) { if (previousItem) { var prevIssue = _issuesEngine.GetIssue(prevItemId); issue.Order = prevIssue.Order; } else { var nextIssue = _issuesEngine.GetIssue(nextItemId); issue.Order = nextIssue.Order - 1; } }
public Issue GetIssue(int id) { return(_issuesEngine.GetIssue(id)); }