public void AddParentTaskTest()
        {
            ParentTaskModel parenttask = new ParentTaskModel();


            parenttask.ParentTaskName = "Parent Task1test";

            TaskController controller = new TaskController();

            controller.Request       = new HttpRequestMessage();
            controller.Configuration = new System.Web.Http.HttpConfiguration();
            HttpResponseMessage searchResultResponse = new HttpResponseMessage();

            searchResultResponse = controller.AddParentTask(parenttask);
            Assert.AreEqual(System.Net.HttpStatusCode.OK, searchResultResponse.StatusCode);
        }