public Tarea Add(Tarea todo) { log.Debug(todo.ToString()); try { todo.Guid = Guid.NewGuid().ToString(); return(tareaRepository.Insert(todo)); } catch (TodoDaoException e) { log.Error(e.Message + e.StackTrace); throw new TodoBLException(Resource.logmessages.erroradd, e.InnerException); } }