public void MS_Int_AuthenticateUser_ValidCredentials_ReturnTrue()
        {
            //Initialize
            _devUtilities.ExecuteSqlScriptFile(_connectionString, TestUtilities.ProjectDirectory() + "\\SQLScripts\\Int_AuthenticateUser_WithValidCredentials_ReturnTrue.sql");


            //Arrange
            var targetObject = new UserServices(new EfUserRepository());
            var userName     = "******";
            var password     = "******";

            //Act
            var result = targetObject.AuthenticateUser(userName, password);

            //Assert
            Assert.IsTrue(result);

            //Cleaning
            _devUtilities.DeleteTableDataAndRessedId("Users", _connectionString);
        }
        public void xU_Int_AuthenticateUser_ValidCredentials_ReturnTrue()
        {
            //Initialize
            Initilize();
            _devUtilities.ExecuteSqlScriptContent(_connectionString, SqlStatementStrings.IntAuthenticateUserWithValidCredentialsReturnTrue);

            //Arrange
            var targetObject = new UserServices(new EfUserRepository());
            var userName     = "******";
            var password     = "******";

            //Act
            var result = targetObject.AuthenticateUser(userName, password);

            //Assert
            Assert.True(result);

            //Cleaning
            _devUtilities.DeleteTableDataAndRessedId("Users", _connectionString);
        }
        public void DeleteTableDataAndRessedI()
        {
            var testingUtilities = new DevUtilities();

            testingUtilities.DeleteTableDataAndRessedId("Products", _connectionString);
        }