public void UserDictionaryServiceTest_Add_valid() { var model = new UserWord { Id = 1, UserId = 1, WordId = 1 }; var expected = rep.Add(1, model); var actual = service.Add(1, model); Assert.AreEqual(expected, actual); }
public bool AddWordToDictionary(UserWord word) { return(serviceDictionary.Add(GetCurrentUserId(), word)); }