public void Delete_IfCalledWithValidId_ReturnTrue() { // Act var result = itemRepository.Delete(id: 1); // Assert Assert.True(result); }
public bool Delete(int id) { bool result = itemRepository.Delete(id); return(result); }