public override void Assign(string assignedTo, Issue issue) { issue.AddHistory($"Assigned to {assignedTo}"); issue.SetIssueState(new Assigned()); }
public override void Close(Issue issue) { issue.AddHistory("Issue closed"); issue.SetIssueState(new Closed()); }
public override void New(Issue issue) { issue.AddHistory($"Issue returned to New state"); issue.SetIssueState(new Created()); }
public override void Solve(Issue issue) { issue.AddHistory($"Issue \"{issue.Text}\" Solved"); issue.SetIssueState(new Solved()); }
public override void Feedback(string text, Issue issue) { issue.Feedback = text; issue.AddHistory("Feedback added"); issue.SetIssueState(new Feedback()); }
public override void Decline(Issue issue) { issue.AddHistory("Issue declined"); issue.SetIssueState(new Declined()); }