Ejemplo n.º 1
0
 void PushToDB(IEnumerable <todo> todos)
 {
     foreach (var todo in todos)
     {
         _svc.AddSilentTodo(new Todo()
         {
             Detail    = todo.detail,
             Notify    = todo.notify,
             StartTime = todo.time,
             Status    = ConvertToNewIsdone(todo.isdone),
             Subject   = todo.title
         });
     }
 }