Exemple #1
0
        public void CanTheRoleBeDeleted()
        {
            _testRepo.Remove(_testid);
            var Role = _testRepo.FindByID(_testid);

            var expectedRole = new Role();

            Assert.IsNull(Role);
        }
Exemple #2
0
 public void Delete(int id)
 {
     RoleRepo.Remove(id);
     _log.LogInformation($"The Role that was deleted {id.ToString()}");
 }