BinaryStudio.TaskManager.Logic.Core.TaskProcessor.DeleteTask C# (CSharp) Method

DeleteTask() public method

The delete current task with all reminders for this task.
public DeleteTask ( int taskId ) : void
taskId int /// The task id. ///
return void
        public void DeleteTask(int taskId)
        {
           /* if (this.reminderProcessor.GetAll().Any(x => x.TaskId.HasValue && x.TaskId.Value == taskId))
            {
                this.reminderProcessor.DeleteRemindersForTask(taskId);
            }*/

            this.humanTaskRepository.Delete(taskId);
        }