Esempio n. 1
0
 /// <summary>
 /// This function is used for remove the list of todo
 /// </summary>
 /// <param name="todoIdList"></param>
 private void RemoveDoneTodos(List <int> todoIdList)
 {
     foreach (var item in todoIdList)
     {
         _todoListServices.DeleteTodo(item);
     }
 }
Esempio n. 2
0
 public int Delete(int id)
 {
     return(todoListServices.DeleteTodo(id));
 }