public void DeleteUser()
 {
     var request = new Model.USER_DETAILS()
     {
         User_ID = 1002,
     };
     var vlsit = userController.Delete(request);
 }
        public void DeleteUserTestMethod()
        {
            UserController UserController = new UserController();
            var            addRequest     = new Model.USER_DETAILS()
            {
                User_ID = 1002,
            };
            var response = UserController.Delete(addRequest);

            Assert.NotNull(response, "API failed-Internal Error");
            Assert.AreEqual(HttpStatusCode.OK.ToString().ToLower(), response.StatusCode.ToString().ToLower(), "API failed-Status error");
        }
 public void InsertUserDetails()
 {
     var addRequest = new Model.USER_DETAILS()
     {
         First_Name  = "test",
         Last_Name   = "test",
         Task_ID     = 1,
         Project_ID  = 1,
         Employee_ID = 12
     };
     var vlsit = userController.Post(addRequest);
 }
 public void UpdateUserDetails()
 {
     UserController UserController = new UserController();
     var            updateReqeust  = new Model.USER_DETAILS()
     {
         User_ID     = 1,
         First_Name  = "test",
         Last_Name   = "test",
         Task_ID     = 1,
         Project_ID  = 1,
         Employee_ID = 12
     };
     var vlsit = userController.Post(updateReqeust);
 }
        public void AddUserTestMethod()
        {
            UserController UserController = new UserController();
            var            addRequest     = new Model.USER_DETAILS()
            {
                First_Name  = "test",
                Last_Name   = "test",
                Task_ID     = 1,
                Project_ID  = 1,
                Employee_ID = 12
            };
            var response = UserController.Post(addRequest);

            Assert.NotNull(response, "API failed-Internal Error");
            Assert.AreEqual(HttpStatusCode.OK.ToString().ToLower(), response.StatusCode.ToString().ToLower(), "API failed-Status error");
        }