public void CloseTask(int taskId)
{
var taskToBeClosed = this.humanTaskRepository.GetById(taskId);
var now = DateTime.Now;
taskToBeClosed.Closed = now;
this.humanTaskRepository.Update(taskToBeClosed);
this.reminderProcessor.DeleteRemindersForTask(taskToBeClosed.Id);
}