コード例 #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());
        }