public void Delete_IfCalledWithValidId_ReturnTrue()
        {
            // Act
            var result = itemRepository.Delete(id: 1);

            // Assert
            Assert.True(result);
        }
Esempio n. 2
0
        public bool Delete(int id)
        {
            bool result = itemRepository.Delete(id);

            return(result);
        }