예제 #1
0
        public async Task DisableUser_ReturnTrue_Happy()
        {
            //Act
            var result = await _adminRepository.DisableUser(new Users { UserId = 2 });

            Assert.IsTrue(result);
        }
예제 #2
0
 public async Task <bool> DisableUser(Users user)
 {
     return(await _AdminData.DisableUser(user));
 }