Esempio n. 1
0
 private void TestEntityDelete(TimeTable timeTableToDelete)
 {
     for (int i = 0; i < listTimetable.Count; i++)
     {
         lessonStorage.DeleteTimeTable((int)listTimetable[i].Id);
         Assert.AreEqual(null, lessonStorage.GetTimeTableById((int)listTimetable[i].Id));
     }
 }
Esempio n. 2
0
        public async Task <ActionResult> TimeTableDeleteById(int id)
        {
            await lessonStorage.DeleteTimeTable(id);

            return(Ok());
        }