public WorkLog GetAcceptLog2Delete(int idActualUser, IDriverDB driver)
        {
            if (State != WorkState.Accepted)
            {
                return(new WorkLog());
            }
            WorkLog acceptLog2Delete = driver.GetAcceptLog(id);

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