public bool Delete(int id) { var subTask = new SubTask { Id = id }; return(_subTaskService.Delete(subTask)); }