public void UpdateUserTest_Success()
        {
            // Arrange
            SPAProjectManager.Models.Users model = new SPAProjectManager.Models.Users
            {
                UserID     = 1,
                FirstName  = "Yagavi",
                LastName   = "Babu",
                EmployeeID = "1100"
            };

            // Act
            var response = userController.UpdateUser(model);

            // Assert
            Assert.IsTrue(response is OkResult);
        }
        public void AddUserTest_Error()
        {
            // Arrange
            var userController = new UsersController(null);

            SPAProjectManager.Models.Users model = new SPAProjectManager.Models.Users
            {
                UserID     = 4,
                FirstName  = "Yagaavi",
                LastName   = "Kelen",
                EmployeeID = "1102"
            };

            // Act
            var response = userController.AddUser(model);

            // Assert
            Assert.IsTrue(response is InternalServerErrorResult);
        }