public WorkLog GetCompleteLog2Delete(int idActualUser, IDriverDB driver)
        {
            if (State != WorkState.Completed)
            {
                return(new WorkLog());
            }
            WorkLog lastCompleteLog = driver.GetLastCompleteLog(id);

            if (idActualUser == lastCompleteLog.IdUser)
            {
                return(lastCompleteLog);
            }
            return(new WorkLog());
        }