public async Task RemoveReminderShouldSuccess() { string userId = "John"; int newsId = 101; var actual = await repository.DeleteReminder(userId, newsId); Assert.True(actual); }
public ActionResult DeleteReminder(Guid reminderID) { ReminderRepository.DeleteReminder(reminderID); return(View()); }
public void DeleteReminderShouldReturnTrue() { int Id = 203; var actual = repository.DeleteReminder(Id); Assert.True(actual); }