/// <summary> /// Delete a task. /// </summary> /// <param name="taskId">ID of task to delete</param> /// <returns>task deleted</returns> public async Task DeleteTask(string taskId) { Arguments.CheckNotNull(taskId, nameof(taskId)); await _service.DeleteTasksIDAsync(taskId); }
/// <summary> /// Delete a task. /// </summary> /// <param name="taskId">ID of task to delete</param> /// <returns>task deleted</returns> public Task DeleteTaskAsync(string taskId) { Arguments.CheckNotNull(taskId, nameof(taskId)); return(_service.DeleteTasksIDAsync(taskId)); }