Added SearchTask Method in Task.cs