예제 #1
0
 public bool Delete(Employee employee)
 {
     if (employee.Id < 0)
     {
         return(false);
     }
     SQLConnectionHandler.GetInstance()
     .Execute(SQLCommand.DeleteEmployee(employee), true);
     return(true);
 }
예제 #2
0
        public List <Employee> GetDelete(int Id)
        {
            command.DeleteEmployee(Id);

            return(command.ViewList());
        }