示例#1
0
        public async Task RemoveReminderShouldSuccess()
        {
            string userId = "John";
            int    newsId = 101;

            var actual = await repository.DeleteReminder(userId, newsId);

            Assert.True(actual);
        }
示例#2
0
        public ActionResult DeleteReminder(Guid reminderID)
        {
            ReminderRepository.DeleteReminder(reminderID);


            return(View());
        }
        public void DeleteReminderShouldReturnTrue()
        {
            int Id = 203;

            var actual = repository.DeleteReminder(Id);

            Assert.True(actual);
        }